calculateMassInfo method

  1. @override
void calculateMassInfo(
  1. MassInfo out
)
override

Calculate the mass information of the shape.

Implementation

@override
void calculateMassInfo(MassInfo out) {
  double inertia = 0;
  out.inertia.setValues(inertia, 0, 0, 0, inertia, 0, 0, 0, inertia);
}