aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/api/CircleCollider.h
diff options
context:
space:
mode:
authormax-001 <maxsmits21@kpnmail.nl>2024-12-17 09:17:10 +0100
committermax-001 <maxsmits21@kpnmail.nl>2024-12-17 09:17:10 +0100
commit5995e40f583ef281468866954f6f82c71ab43453 (patch)
tree59c04d876f1dd5719c3d5f3f381bd8a453bc57c9 /src/crepe/api/CircleCollider.h
parent676392f786ee93280b781ead8417cc8345cb7fd0 (diff)
parentcc2ec343367ebaa3b6a6142532f7a067c3c981a1 (diff)
Merge remote-tracking branch 'origin/master' into max/game
Diffstat (limited to 'src/crepe/api/CircleCollider.h')
-rw-r--r--src/crepe/api/CircleCollider.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/crepe/api/CircleCollider.h b/src/crepe/api/CircleCollider.h
index c7bf66e..22da836 100644
--- a/src/crepe/api/CircleCollider.h
+++ b/src/crepe/api/CircleCollider.h
@@ -13,7 +13,8 @@ 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;