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

[CollisionGeometry] Fix computeCOM and computeMomentofInertia

parent 6338e5d6
No related branches found
No related tags found
No related merge requests found
...@@ -125,10 +125,10 @@ public: ...@@ -125,10 +125,10 @@ public:
FCL_REAL threshold_free; FCL_REAL threshold_free;
/// @brief compute center of mass /// @brief compute center of mass
virtual Vec3f computeCOM() const { return Vec3f(); } virtual Vec3f computeCOM() const { return Vec3f::Zero(); }
/// @brief compute the inertia matrix, related to the origin /// @brief compute the inertia matrix, related to the origin
virtual Matrix3f computeMomentofInertia() const { return Matrix3f(); } virtual Matrix3f computeMomentofInertia() const { return Matrix3f::Zero(); }
/// @brief compute the volume /// @brief compute the volume
virtual FCL_REAL computeVolume() const { return 0; } virtual FCL_REAL computeVolume() const { return 0; }
......
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