Skip to content
Snippets Groups Projects
Commit 775b3525 authored by Gabriele Buondonno's avatar Gabriele Buondonno
Browse files

[Sphere] Fix volume computation

parent 7c2cca6d
No related branches found
No related tags found
No related merge requests found
......@@ -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;
}
};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment