summaryrefslogtreecommitdiffstats
path: root/core/math/vector4.h
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2022-09-20 09:43:51 +0200
committerRémi Verschelde <rverschelde@gmail.com>2022-09-20 09:43:51 +0200
commita04533f96433c8dd03b14a31d1f39f929c6dc366 (patch)
treebd01a7d645c12bd9ccf782054d5ba0ee1c5877e0 /core/math/vector4.h
parent4a645abd518918e34fb1d8ed3c291e19dc438dd9 (diff)
parent50fb0220ca96983337d21ab4264911daff3fe412 (diff)
downloadredot-engine-a04533f96433c8dd03b14a31d1f39f929c6dc366.tar.gz
Merge pull request #66138 from aaronfranke/axis-count
Define AXIS_COUNT in all vector math types
Diffstat (limited to 'core/math/vector4.h')
-rw-r--r--core/math/vector4.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/core/math/vector4.h b/core/math/vector4.h
index f964264108..d89f3ddb05 100644
--- a/core/math/vector4.h
+++ b/core/math/vector4.h
@@ -37,6 +37,8 @@
#include "core/string/ustring.h"
struct _NO_DISCARD_ Vector4 {
+ static const int AXIS_COUNT = 4;
+
enum Axis {
AXIS_X,
AXIS_Y,