diff options
author | JAROWMR <jarorutjes07@gmail.com> | 2024-12-16 21:26:11 +0100 |
---|---|---|
committer | JAROWMR <jarorutjes07@gmail.com> | 2024-12-16 21:26:11 +0100 |
commit | 6e92c59b3364b00eb15c310120b93acc83ca504e (patch) | |
tree | cf24c206bf444bf8c3e1e51b6ac73be56e69c98c /src/crepe/api/CircleCollider.h | |
parent | 5bece30f9ad495a0e82097b2c5668e979856fb69 (diff) | |
parent | 4cddaf8e8b809a69a8e03e79c4f7902920745a9a (diff) |
pulled api change
Diffstat (limited to 'src/crepe/api/CircleCollider.h')
-rw-r--r-- | src/crepe/api/CircleCollider.h | 3 |
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; |