diff options
author | Aaron Franke <arnfranke@yahoo.com> | 2022-10-01 21:53:12 -0500 |
---|---|---|
committer | Aaron Franke <arnfranke@yahoo.com> | 2022-11-02 13:44:13 -0500 |
commit | 8556fdd4bc1560f03f70df08282b12464a4cdf04 (patch) | |
tree | a381f2a9857c76012bcd4a78640625341d61b665 /scene/3d/remote_transform_3d.cpp | |
parent | 39cece382d1c0f9f89eaa469a93497c50b516686 (diff) | |
download | redot-engine-8556fdd4bc1560f03f70df08282b12464a4cdf04.tar.gz |
Move EulerOrder enum to math_defs.h and global scope
Diffstat (limited to 'scene/3d/remote_transform_3d.cpp')
-rw-r--r-- | scene/3d/remote_transform_3d.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scene/3d/remote_transform_3d.cpp b/scene/3d/remote_transform_3d.cpp index ff05e88241..817ffbfec8 100644 --- a/scene/3d/remote_transform_3d.cpp +++ b/scene/3d/remote_transform_3d.cpp @@ -68,7 +68,7 @@ void RemoteTransform3D::_update_remote() { Transform3D our_trans = get_global_transform(); if (update_remote_rotation) { - n->set_rotation(our_trans.basis.get_euler_normalized(Basis::EulerOrder(n->get_rotation_order()))); + n->set_rotation(our_trans.basis.get_euler_normalized(EulerOrder(n->get_rotation_order()))); } if (update_remote_scale) { @@ -90,7 +90,7 @@ void RemoteTransform3D::_update_remote() { Transform3D our_trans = get_transform(); if (update_remote_rotation) { - n->set_rotation(our_trans.basis.get_euler_normalized(Basis::EulerOrder(n->get_rotation_order()))); + n->set_rotation(our_trans.basis.get_euler_normalized(EulerOrder(n->get_rotation_order()))); } if (update_remote_scale) { |