aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/Transform.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/crepe/Transform.cpp')
-rw-r--r--src/crepe/Transform.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/crepe/Transform.cpp b/src/crepe/Transform.cpp
new file mode 100644
index 0000000..0e4b0cf
--- /dev/null
+++ b/src/crepe/Transform.cpp
@@ -0,0 +1,6 @@
+#include "Transform.h"
+
+using namespace crepe;
+
+Transform::Transform(int mass, int gravityScale, int bodyType)
+ : mass(mass), gravity_scale(gravityScale), body_type(bodyType) {}