Commit 155d2f8d authored by Gabriele Buondonno's avatar Gabriele Buondonno
Browse files

[CollisionGeometry] Fix computeCOM and computeMomentofInertia

parent 6338e5d6
......@@ -125,10 +125,10 @@ public:
FCL_REAL threshold_free;
/// @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
virtual Matrix3f computeMomentofInertia() const { return Matrix3f(); }
virtual Matrix3f computeMomentofInertia() const { return Matrix3f::Zero(); }
/// @brief compute the volume
virtual FCL_REAL computeVolume() const { return 0; }
......
Supports Markdown
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