aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/api/Transform.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/crepe/api/Transform.h')
-rw-r--r--src/crepe/api/Transform.h13
1 files changed, 9 insertions, 4 deletions
diff --git a/src/crepe/api/Transform.h b/src/crepe/api/Transform.h
index 7b74e43..c17ae34 100644
--- a/src/crepe/api/Transform.h
+++ b/src/crepe/api/Transform.h
@@ -9,13 +9,18 @@
namespace crepe::api {
class Transform : public Component {
-
+ // FIXME: What's the difference between the `Point` and `Position`
+ // classes/structs? How about we replace both with a universal `Vec2` that
+ // works similar (or the same) as those found in GLSL?
public:
Transform(uint32_t id, Point &, double, double);
~Transform();
- Point position; // Translation (shift)
- double rotation; // Rotation, in radians
- double scale; // Multiplication factoh
+ //! Translation (shift)
+ Point position;
+ //! Rotation, in radians
+ double rotation;
+ //! Multiplication factor
+ double scale;
};
} // namespace crepe::api