summaryrefslogtreecommitdiffstats
path: root/include/core/Transform2D.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'include/core/Transform2D.hpp')
-rw-r--r--include/core/Transform2D.hpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/core/Transform2D.hpp b/include/core/Transform2D.hpp
index ae01b7f..6a5010f 100644
--- a/include/core/Transform2D.hpp
+++ b/include/core/Transform2D.hpp
@@ -10,6 +10,10 @@ typedef Vector2 Size2;
struct Rect2;
struct Transform2D {
+ static const Transform2D IDENTITY;
+ static const Transform2D FLIP_X;
+ static const Transform2D FLIP_Y;
+
// Warning #1: basis of Transform2D is stored differently from Basis. In terms of elements array, the basis matrix looks like "on paper":
// M = (elements[0][0] elements[1][0])
// (elements[0][1] elements[1][1])