aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/api/CircleCollider.h
diff options
context:
space:
mode:
authorJAROWMR <jarorutjes07@gmail.com>2024-12-14 13:24:14 +0100
committerJAROWMR <jarorutjes07@gmail.com>2024-12-14 13:24:14 +0100
commit1a5116b944bcbdeeb3474faefbe150e82f8697b1 (patch)
tree2e81437bfe5b2ac88f103a6aa4e847a550121e2c /src/crepe/api/CircleCollider.h
parent876896e50711509e80ef551b4e8ad440e8039b97 (diff)
updated api and game
Diffstat (limited to 'src/crepe/api/CircleCollider.h')
-rw-r--r--src/crepe/api/CircleCollider.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/crepe/api/CircleCollider.h b/src/crepe/api/CircleCollider.h
index c7bf66e..ea40068 100644
--- a/src/crepe/api/CircleCollider.h
+++ b/src/crepe/api/CircleCollider.h
@@ -13,7 +13,7 @@ namespace crepe {
*/
class CircleCollider : public Collider {
public:
- CircleCollider(game_object_id_t game_object_id, const vec2 & offset, float radius);
+ CircleCollider(game_object_id_t game_object_id, float radius, const vec2 & offset= {0,0});
//! Radius of the circle collider.
float radius;