aboutsummaryrefslogtreecommitdiff
path: root/src/libjin/math/je_transform.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/libjin/math/je_transform.cpp')
-rw-r--r--src/libjin/math/je_transform.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/libjin/math/je_transform.cpp b/src/libjin/math/je_transform.cpp
index c0676cb..fba63fa 100644
--- a/src/libjin/math/je_transform.cpp
+++ b/src/libjin/math/je_transform.cpp
@@ -13,6 +13,11 @@ namespace JinEngine
{
}
+ Transform::Transform(float x, float y, float sx, float sy, float r, float ox, float oy)
+ {
+ set(x, y, sx, sy, r, ox, oy);
+ }
+
void Transform::set(float x, float y, float sx, float sy, float r, float ox, float oy)
{
setPosition(x, y);