aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/api/CircleCollider.h
diff options
context:
space:
mode:
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;