diff options
| author | Juan Linietsky <reduzio@gmail.com> | 2014-07-06 11:49:27 -0300 |
|---|---|---|
| committer | Juan Linietsky <reduzio@gmail.com> | 2014-07-06 11:49:27 -0300 |
| commit | 3d68949a1cc41b4865618bddde23122f66764ee1 (patch) | |
| tree | 53a988954a59793223542ff362f70089515dd630 /core/math/math_2d.h | |
| parent | cd80d442a212a119b4bfce95dce78a08cbc49490 (diff) | |
| download | redot-engine-3d68949a1cc41b4865618bddde23122f66764ee1.tar.gz | |
2D Animation Improvements
-=-=-=-=-=-=-=-=-=--=-=-=
-Ability to set 2D nodes as bones
-Abity to set 2D nodes as IK chains
-2D IK Solver
-Improvements in the UI for adding keyframes (separate loc,rot,scale buttons)
Diffstat (limited to 'core/math/math_2d.h')
| -rw-r--r-- | core/math/math_2d.h | 3 |
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]; } |
