diff options
author | Loek Le Blansch <loek@pipeframe.xyz> | 2024-10-06 15:28:12 +0200 |
---|---|---|
committer | Loek Le Blansch <loek@pipeframe.xyz> | 2024-10-06 15:28:12 +0200 |
commit | aa8755148cbca29b584f7a146636b506070717f9 (patch) | |
tree | 275644d2f2cbf5de1c0aa82a3cb05df03ea9fff4 /src/crepe/Rigidbody.cpp | |
parent | 39815f58e3842bb28e644e83111a619bd1374855 (diff) |
move components to separate files
Diffstat (limited to 'src/crepe/Rigidbody.cpp')
-rw-r--r-- | src/crepe/Rigidbody.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/crepe/Rigidbody.cpp b/src/crepe/Rigidbody.cpp new file mode 100644 index 0000000..1518d28 --- /dev/null +++ b/src/crepe/Rigidbody.cpp @@ -0,0 +1,7 @@ +#include "Rigidbody.h" + +using namespace crepe; + +Rigidbody::Rigidbody(int mass, int gravityScale, int bodyType) + : mass(mass), gravity_scale(gravityScale), body_type(bodyType) {} + |