public override void CalculateMassInertia() { this.mass = Shape.CalculateMassInertia(this, out shifted, out inertia); }
/// <summary> /// Numerically calculates the inertia, mass and geometric center of the shape. /// This gets a good value for "normal" shapes. The algorithm isn't very accurate /// for very flat shapes. /// </summary> public virtual void CalculateMassInertia() { this.mass = Shape.CalculateMassInertia(this, out geomCen, out inertia); }