calculateLocalInertia method
Calculate the inertia of the box.
Implementation
@override
Vec3 calculateLocalInertia(num mass,[ Vec3? target]){
target ??= Vec3();
Box.calculateInertia(halfExtents, mass, target);
return target;
}
Calculate the inertia of the box.
@override
Vec3 calculateLocalInertia(num mass,[ Vec3? target]){
target ??= Vec3();
Box.calculateInertia(halfExtents, mass, target);
return target;
}