diff options
Diffstat (limited to 'src/crepe/api/Transform.h')
-rw-r--r-- | src/crepe/api/Transform.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/crepe/api/Transform.h b/src/crepe/api/Transform.h index 1104e99..33e70f9 100644 --- a/src/crepe/api/Transform.h +++ b/src/crepe/api/Transform.h @@ -1,6 +1,6 @@ #pragma once -#include "api/Point.h" +#include "api/Vector2.h" #include "Component.h" @@ -20,7 +20,7 @@ public: * \param rot The rotation of the GameObject * \param scale The scale of the GameObject */ - Transform(game_object_id_t id, const Point & point, double rot, double scale); + Transform(game_object_id_t id, const Vector2 & point, double rot, double scale); /** * \brief Get the maximum number of instances for this component * @@ -30,7 +30,7 @@ public: public: //! Translation (shift) - Point position; + Vector2 position; //! Rotation, in radians double rotation; //! Multiplication factor |