The functionality of `b2Shape.ComputeMass` should be exposed in Box2DShape. Implement as: - [ ] `Vector2 Box2DShape::get_center_of_mass()` - [ ] `real_t Box2DShape::get_mass(real_t density)` Optionally, we could also redundantly expose this in Box2DFixture (without the density parameter).
The functionality of
b2Shape.ComputeMassshould be exposed in Box2DShape.Implement as:
Vector2 Box2DShape::get_center_of_mass()real_t Box2DShape::get_mass(real_t density)Optionally, we could also redundantly expose this in Box2DFixture (without the density parameter).