diff options
author | JAROWMR <jarorutjes07@gmail.com> | 2024-11-22 15:36:14 +0100 |
---|---|---|
committer | JAROWMR <jarorutjes07@gmail.com> | 2024-11-22 15:36:14 +0100 |
commit | 3f63143b4005936da446fb2cdbbd1072b47fc8c1 (patch) | |
tree | 480484822cf915e035120fdd4db88e6f1c389b38 /src/crepe/Collider.h | |
parent | 503c1d15d35fc06ac36febc72a8aa8abe38707ce (diff) |
merge with master
Diffstat (limited to 'src/crepe/Collider.h')
-rw-r--r-- | src/crepe/Collider.h | 5 |
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 |