aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/api/CircleCollider.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/CircleCollider.h
parent09c4c1485ab797dc5f6f850b96262e2f7bbbd1ec (diff)
added some comments and const
Diffstat (limited to 'src/crepe/api/CircleCollider.h')
-rw-r--r--src/crepe/api/CircleCollider.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/crepe/api/CircleCollider.h b/src/crepe/api/CircleCollider.h
index 843547f..c61f027 100644
--- a/src/crepe/api/CircleCollider.h
+++ b/src/crepe/api/CircleCollider.h
@@ -14,10 +14,10 @@ namespace crepe {
class CircleCollider : public Collider {
public:
- CircleCollider(game_object_id_t game_object_id,vec2 offset, int radius);
+ CircleCollider(game_object_id_t game_object_id,vec2 offset, float radius);
//! Radius of the circle collider.
- double radius;
+ float radius;
};
} // namespace crepe