aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/Collider.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/crepe/Collider.h')
-rw-r--r--src/crepe/Collider.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/crepe/Collider.h b/src/crepe/Collider.h
index e1624b4..15d3a24 100644
--- a/src/crepe/Collider.h
+++ b/src/crepe/Collider.h
@@ -7,7 +7,7 @@ namespace crepe {
class Collider : public Component {
public:
- Collider(game_object_id_t id, vec2 offset);
+ Collider(game_object_id_t id, const vec2& offset);
public:
//! Offset of the collider relative to rigidbody position