summaryrefslogtreecommitdiff
path: root/core/math/math_2d.h
diff options
context:
space:
mode:
Diffstat (limited to 'core/math/math_2d.h')
-rw-r--r--core/math/math_2d.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/core/math/math_2d.h b/core/math/math_2d.h
index 2c8749f79d..3cc5bdc843 100644
--- a/core/math/math_2d.h
+++ b/core/math/math_2d.h
@@ -553,6 +553,9 @@ struct Matrix32 {
void scale_basis(const Vector2& p_scale);
void translate( real_t p_tx, real_t p_ty);
void translate( const Vector2& p_translation );
+
+ float basis_determinant() const;
+
Vector2 get_scale() const;
_FORCE_INLINE_ const Vector2& get_origin() const { return elements[2]; }