calculateLocalInertia method

  1. @override
Vec3 calculateLocalInertia(
  1. double mass, [
  2. Vec3? target
])
override

Calculates the inertia in the local frame for this shape. @see http://en.wikipedia.org/wiki/List_of_moments_of_inertia

Implementation

@override
Vec3 calculateLocalInertia(double mass, [Vec3? target]) {
  target ??= Vec3();
  return target;
}