Commit 775b3525 authored by Gabriele Buondonno's avatar Gabriele Buondonno
Browse files

[Sphere] Fix volume computation

parent 7c2cca6d
......@@ -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;
}
};
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment