]> git.tdb.fi Git - libs/game.git/blobdiff - examples/bassteroids/source/physics.h
Simulate friction in collisions
[libs/game.git] / examples / bassteroids / source / physics.h
index 078d2e60aa31ac0c07f5b44ec11c7969a772a03e..096e228095fdc94b131ca4796d505bc8e6cb63ad 100644 (file)
@@ -17,7 +17,7 @@ private:
        {
                Msp::Game::Handle<PhysicalEntity> entity;
                float inverse_mass = 1.0f;
-               float moment_of_inertia = 1.0f;
+               float inverse_momi = 1.0f;
                Msp::LinAl::Vector<float, 2> external_force;
                float external_torque = 0.0f;