]> git.tdb.fi Git - libs/game.git/commit
Add rotation to physics simulation
authorMikko Rasa <tdb@tdb.fi>
Sun, 20 Nov 2022 19:10:32 +0000 (21:10 +0200)
committerMikko Rasa <tdb@tdb.fi>
Sun, 20 Nov 2022 19:10:32 +0000 (21:10 +0200)
commit1819b186d60376a546722d99edd686e876b81d9f
tree62b912278f1310634c81e3f02f1ba064b1538845
parent86c345922f02587d6c49e637535adf5494819652
Add rotation to physics simulation

There's no friction yet, so colliding objects don't start rotating.
examples/bassteroids/source/physics.cpp
examples/bassteroids/source/physics.h
examples/bassteroids/source/rigidbody.cpp
examples/bassteroids/source/rigidbody.h