diff --git a/include/hpp/fcl/shape/geometric_shapes.h b/include/hpp/fcl/shape/geometric_shapes.h index d991f4e02f0e1d81813fad1bb50c5458e485c84e..60695874f7137f9d9e1de29fe60db1d213b4bbd0 100644 --- a/include/hpp/fcl/shape/geometric_shapes.h +++ b/include/hpp/fcl/shape/geometric_shapes.h @@ -143,7 +143,7 @@ public: FCL_REAL computeVolume() const { - return 4 * boost::math::constants::pi<FCL_REAL>() * radius * radius / 3; + return 4 * boost::math::constants::pi<FCL_REAL>() * radius * radius * radius / 3; } };