aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/api/BoxCollider.cpp
diff options
context:
space:
mode:
authorJAROWMR <jarorutjes07@gmail.com>2024-12-02 13:18:36 +0100
committerJAROWMR <jarorutjes07@gmail.com>2024-12-02 13:18:36 +0100
commitad504dbf5152b663c3b503b04012efe092120b6d (patch)
tree1e0a2f9e1b9815bfa30f7cf24a7858f4c04119c6 /src/crepe/api/BoxCollider.cpp
parent09c4c1485ab797dc5f6f850b96262e2f7bbbd1ec (diff)
added some comments and const
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 4c767c8..6034837 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,vec2 offset, double width, double height) : Collider(game_object_id,offset), width(width), height(height) {}
+BoxCollider::BoxCollider(game_object_id_t game_object_id,vec2 offset, float width, float height) : Collider(game_object_id,offset), width(width), height(height) {}