computeMass abstract method

void computeMass(
  1. MassData massData,
  2. double density
)

Compute the mass properties of this shape using its dimensions and density. The inertia tensor is computed about the local origin. density should be in kilograms per meter squared.

Implementation

void computeMass(MassData massData, double density);