Commit 111cb159 authored by Gabriele Buondonno's avatar Gabriele Buondonno
Browse files

[CollisionGeometry] Initialize default inertia to NaN

parent 6b23932f
......@@ -128,7 +128,7 @@ public:
virtual Vec3f computeCOM() const { return Vec3f::Zero(); }
/// @brief compute the inertia matrix, related to the origin
virtual Matrix3f computeMomentofInertia() const { return Matrix3f::Zero(); }
virtual Matrix3f computeMomentofInertia() const { return Matrix3f::Constant(NAN); }
/// @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