summaryrefslogtreecommitdiffstats
path: root/core/math/math_defs.h
diff options
context:
space:
mode:
authorAaron Franke <arnfranke@yahoo.com>2022-10-01 21:53:12 -0500
committerAaron Franke <arnfranke@yahoo.com>2022-11-02 13:44:13 -0500
commit8556fdd4bc1560f03f70df08282b12464a4cdf04 (patch)
treea381f2a9857c76012bcd4a78640625341d61b665 /core/math/math_defs.h
parent39cece382d1c0f9f89eaa469a93497c50b516686 (diff)
downloadredot-engine-8556fdd4bc1560f03f70df08282b12464a4cdf04.tar.gz
Move EulerOrder enum to math_defs.h and global scope
Diffstat (limited to 'core/math/math_defs.h')
-rw-r--r--core/math/math_defs.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/core/math/math_defs.h b/core/math/math_defs.h
index b8b82f2ff4..759667e2d5 100644
--- a/core/math/math_defs.h
+++ b/core/math/math_defs.h
@@ -116,6 +116,15 @@ enum Corner {
CORNER_BOTTOM_LEFT
};
+enum class EulerOrder {
+ XYZ,
+ XZY,
+ YXZ,
+ YZX,
+ ZXY,
+ ZYX
+};
+
/**
* The "Real" type is an abstract type used for real numbers, such as 1.5,
* in contrast to integer numbers. Precision can be controlled with the