summaryrefslogtreecommitdiffstats
path: root/include/godot_cpp
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2023-01-18 18:36:21 +0100
committerGitHub <noreply@github.com>2023-01-18 18:36:21 +0100
commitcf3d995e8cb477a09dcbcf59c1cc8410b4b071fe (patch)
treeb50d74112a8f01a3a219c1cce3d5345c939ad632 /include/godot_cpp
parent0dfe0d01669d3f281ec02e136676079016c0424c (diff)
parentdbd43ac107ba5fc931aacf94294f247ba2c724af (diff)
downloadredot-cpp-cf3d995e8cb477a09dcbcf59c1cc8410b4b071fe.tar.gz
Merge pull request #997 from asmaloney/fix-shadow-eulerorder
Fix a shadowed enum (EulerOrder)
Diffstat (limited to 'include/godot_cpp')
-rw-r--r--include/godot_cpp/variant/basis.hpp10
1 files changed, 1 insertions, 9 deletions
diff --git a/include/godot_cpp/variant/basis.hpp b/include/godot_cpp/variant/basis.hpp
index 8b2d8c0..a365b02 100644
--- a/include/godot_cpp/variant/basis.hpp
+++ b/include/godot_cpp/variant/basis.hpp
@@ -31,6 +31,7 @@
#ifndef GODOT_BASIS_HPP
#define GODOT_BASIS_HPP
+#include <godot_cpp/classes/global_constants.hpp>
#include <godot_cpp/variant/quaternion.hpp>
#include <godot_cpp/variant/vector3.hpp>
@@ -58,15 +59,6 @@ struct _NO_DISCARD_ Basis {
_FORCE_INLINE_ real_t determinant() const;
- enum EulerOrder {
- EULER_ORDER_XYZ,
- EULER_ORDER_XZY,
- EULER_ORDER_YXZ,
- EULER_ORDER_YZX,
- EULER_ORDER_ZXY,
- EULER_ORDER_ZYX
- };
-
void from_z(const Vector3 &p_z);
void rotate(const Vector3 &p_axis, real_t p_angle);