From ad504dbf5152b663c3b503b04012efe092120b6d Mon Sep 17 00:00:00 2001 From: JAROWMR Date: Mon, 2 Dec 2024 13:18:36 +0100 Subject: added some comments and const --- src/crepe/api/BoxCollider.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/crepe/api/BoxCollider.h') 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 -- cgit v1.2.3