]> git.tdb.fi Git - libs/game.git/blobdiff - examples/bassteroids/source/rigidbody.h
Use the setup generator to create setup structs
[libs/game.git] / examples / bassteroids / source / rigidbody.h
index b75d034ab98e03b42a4beb81cb08d21532d1f4b4..cd5063d953c8422481965b2c7ea354c09296400e 100644 (file)
@@ -4,12 +4,7 @@
 #include <msp/game/component.h>
 #include <msp/geometry/angle.h>
 #include <msp/linal/vector.h>
-
-struct RigidBodySetup
-{
-       float mass = 1.0f;
-       float moment_of_inertia = 0.5f;
-};
+#include "setups.h"
 
 struct RigidBodyData
 {