diff options
author | Loek Le Blansch <loek@pipeframe.xyz> | 2024-10-23 22:23:36 +0200 |
---|---|---|
committer | Loek Le Blansch <loek@pipeframe.xyz> | 2024-10-23 22:23:36 +0200 |
commit | 6e2c5e1b57210b10f8781f103e5c46308544339f (patch) | |
tree | 9738592f2082de1881a0ea019bf3c99644134aef /src/crepe/api/Rigidbody.cpp | |
parent | 9b7be419c9dcc6ebd1e504713c7b2676ca3d2fdf (diff) |
more nitpicking
Diffstat (limited to 'src/crepe/api/Rigidbody.cpp')
-rw-r--r-- | src/crepe/api/Rigidbody.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/crepe/api/Rigidbody.cpp b/src/crepe/api/Rigidbody.cpp index b35d5b8..ebf9fb9 100644 --- a/src/crepe/api/Rigidbody.cpp +++ b/src/crepe/api/Rigidbody.cpp @@ -2,7 +2,7 @@ using namespace crepe::api; -Rigidbody::Rigidbody(uint32_t gameObjectId, int mass, int gravityScale, +Rigidbody::Rigidbody(uint32_t game_object_id, int mass, int gravity_scale, BodyType bodyType) - : Component(gameObjectId), mass(mass), gravity_scale(gravityScale), + : Component(game_object_id), mass(mass), gravity_scale(gravity_scale), body_type(bodyType) {} |