aboutsummaryrefslogtreecommitdiff
path: root/core/math/quat.cpp
diff options
context:
space:
mode:
authorJuan Linietsky2017-01-11 00:52:51 -0300
committerJuan Linietsky2017-01-11 00:52:51 -0300
commitbc26f905817945300d397696330d1ab04a1af33c (patch)
treed06338399c8ea410042f6631fb3db3efcc100b05 /core/math/quat.cpp
parent710692278d1353aad08bc7bceb655afc1d6c950c (diff)
downloadgodot-bc26f905817945300d397696330d1ab04a1af33c.tar.gz
godot-bc26f905817945300d397696330d1ab04a1af33c.tar.zst
godot-bc26f905817945300d397696330d1ab04a1af33c.zip
Diffstat (limited to 'core/math/quat.cpp')
-rw-r--r--core/math/quat.cpp2
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();
}