aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/api/BoxCollider.cpp
diff options
context:
space:
mode:
authorJAROWMR <jarorutjes07@gmail.com>2024-12-03 19:32:15 +0100
committerJAROWMR <jarorutjes07@gmail.com>2024-12-03 19:32:15 +0100
commitff618da3f97237796042fa3664da59ed147bc1da (patch)
treecfc283425f145b16a2b2e3b1a0a5760e8015a2b1 /src/crepe/api/BoxCollider.cpp
parentfb018cd8511e9cae408f8ea7d2b73e66a452625b (diff)
improved comments
Diffstat (limited to 'src/crepe/api/BoxCollider.cpp')
-rw-r--r--src/crepe/api/BoxCollider.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/crepe/api/BoxCollider.cpp b/src/crepe/api/BoxCollider.cpp
index 1069e90..f94ced7 100644
--- a/src/crepe/api/BoxCollider.cpp
+++ b/src/crepe/api/BoxCollider.cpp
@@ -4,4 +4,4 @@
using namespace crepe;
-BoxCollider::BoxCollider(game_object_id_t game_object_id,const vec2& offset, float width, float height) : Collider(game_object_id,offset), width(width), height(height) {}
+BoxCollider::BoxCollider(game_object_id_t game_object_id,const vec2& offset, const vec2& dimensions) : Collider(game_object_id,offset), dimensions(dimensions) {}