aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/api/BoxCollider.h
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.h
parent09c4c1485ab797dc5f6f850b96262e2f7bbbd1ec (diff)
added some comments and const
Diffstat (limited to 'src/crepe/api/BoxCollider.h')
-rw-r--r--src/crepe/api/BoxCollider.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/crepe/api/BoxCollider.h b/src/crepe/api/BoxCollider.h
index 6135954..2ce1ee8 100644
--- a/src/crepe/api/BoxCollider.h
+++ b/src/crepe/api/BoxCollider.h
@@ -12,13 +12,13 @@ namespace crepe {
*/
class BoxCollider : public Collider {
public:
- BoxCollider(game_object_id_t game_object_id,vec2 offset, double width, double height);
+ BoxCollider(game_object_id_t game_object_id,vec2 offset, float width, float height);
//! Width of box collider
- double width;
+ float width;
//! Height of box collider
- double height;
+ float height;
};
} // namespace crepe