diff options
| author | Juan Linietsky | 2017-01-11 00:52:51 -0300 |
|---|---|---|
| committer | Juan Linietsky | 2017-01-11 00:52:51 -0300 |
| commit | bc26f905817945300d397696330d1ab04a1af33c (patch) | |
| tree | d06338399c8ea410042f6631fb3db3efcc100b05 /core/math/quat.cpp | |
| parent | 710692278d1353aad08bc7bceb655afc1d6c950c (diff) | |
| download | godot-bc26f905817945300d397696330d1ab04a1af33c.tar.gz godot-bc26f905817945300d397696330d1ab04a1af33c.tar.zst godot-bc26f905817945300d397696330d1ab04a1af33c.zip | |
Diffstat (limited to 'core/math/quat.cpp')
| -rw-r--r-- | core/math/quat.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/math/quat.cpp b/core/math/quat.cpp index afe71100e..055e2b7c3 100644 --- a/core/math/quat.cpp +++ b/core/math/quat.cpp @@ -59,7 +59,7 @@ void Quat::set_euler(const Vector3& p_euler) { // (a1,a2,a3), where a3 is the angle of the first rotation, and a1 is the last. // The current implementation uses XYZ convention (Z is the first rotation). Vector3 Quat::get_euler() const { - Matrix3 m(*this); + Basis m(*this); return m.get_euler(); } |
