VelcroPhysics
VelcroPhysics copied to clipboard
When adding fixture with a shape, only calculate the delta mass
When we register a fixture to a body, it's shape's density has to be taken into account. We do this by iterating ALL shapes again and resetting the mass data. We could just add the density as a delta to save some computation.