summaryrefslogtreecommitdiffstats
path: root/core/math/transform_2d.h
diff options
context:
space:
mode:
Diffstat (limited to 'core/math/transform_2d.h')
-rw-r--r--core/math/transform_2d.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/math/transform_2d.h b/core/math/transform_2d.h
index 507e6a16eb..b9e7a36fb3 100644
--- a/core/math/transform_2d.h
+++ b/core/math/transform_2d.h
@@ -81,6 +81,7 @@ struct Transform2D {
real_t basis_determinant() const;
Size2 get_scale() const;
+ void set_scale(Size2 &p_scale);
_FORCE_INLINE_ const Vector2 &get_origin() const { return elements[2]; }
_FORCE_INLINE_ void set_origin(const Vector2 &p_origin) { elements[2] = p_origin; }