]> rtime.felk.cvut.cz Git - hubacji1/rrts.git/blobdiff - src/reeds_shepp.cpp
Get rid of boost includes
[hubacji1/rrts.git] / src / reeds_shepp.cpp
index 293a90c1c9a017e1d81f1d5a8a0450432ae5a582..2955312c16b8017336675cff52e89372c629ec1e 100644 (file)
@@ -4,14 +4,13 @@
 // SPDX-License-Identifier: BSD-3-Clause
 
 #include "reeds_shepp.h"
-#include <boost/math/constants/constants.hpp>
-
+#include <cmath>
 
 namespace
 {
     // The comments, variable names, etc. use the nomenclature from the Reeds & Shepp paper.
 
-    const double pi = boost::math::constants::pi<double>();
+    const double pi = M_PI;
     const double twopi = 2. * pi;
     const double RS_EPS = 1e-6;
     const double ZERO = 10*std::numeric_limits<double>::epsilon();