public PhysicsEntity(GameShape shape) { float dens = 1.0f; Shape = shape; Mass = shape.GetMass(dens); MassInv = 1 / Mass; Inertia = shape.GetInertia(dens); InertiaInv = 1 / Inertia; }