aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/Transform.cpp
diff options
context:
space:
mode:
authorjaroWMR <jarorutjes07@gmail.com>2024-10-20 12:59:18 +0200
committerjaroWMR <jarorutjes07@gmail.com>2024-10-20 12:59:18 +0200
commit0f03cdbf23f57116b7664a7c98c4605fd69bb961 (patch)
tree6e592bd7e94cd5954a8a49209de815fc0ae0becd /src/crepe/Transform.cpp
parent016070d47f2fff8cfdd49cc0bdf65c14ef922c94 (diff)
updated particle system
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) {}