aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/Collider.h
diff options
context:
space:
mode:
authorJAROWMR <jarorutjes07@gmail.com>2024-11-22 15:36:14 +0100
committerJAROWMR <jarorutjes07@gmail.com>2024-11-22 15:36:14 +0100
commit3f63143b4005936da446fb2cdbbd1072b47fc8c1 (patch)
tree480484822cf915e035120fdd4db88e6f1c389b38 /src/crepe/Collider.h
parent503c1d15d35fc06ac36febc72a8aa8abe38707ce (diff)
merge with master
Diffstat (limited to 'src/crepe/Collider.h')
-rw-r--r--src/crepe/Collider.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/crepe/Collider.h b/src/crepe/Collider.h
index 0157324..5b26af5 100644
--- a/src/crepe/Collider.h
+++ b/src/crepe/Collider.h
@@ -3,16 +3,17 @@
#include "api/Vector2.h"
#include "Component.h"
+#include "types.h"
namespace crepe {
class Collider : public Component {
public:
- Collider(game_object_id_t id, Vector2 offset);
+ Collider(game_object_id_t id, vec2 offset);
public:
//! Offset of the collider relative to rigidbody position
- Vector2 offset;
+ vec2 offset;
};
} // namespace crepe