summaryrefslogtreecommitdiff
path: root/include/math_util.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/math_util.h')
-rw-r--r--include/math_util.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/math_util.h b/include/math_util.h
index dc0eb431c3..e7dcc6cbec 100644
--- a/include/math_util.h
+++ b/include/math_util.h
@@ -70,6 +70,10 @@ typedef fp_t matrix_3x3_t[3][3];
/* Integer vector */
typedef int vector_3_t[3];
+/* For vector_3_t, define which coordinates are in which location. */
+enum {
+ X, Y, Z
+};
/*
* Return absolute value of x. Note that as a macro expansion, this may have
* side effects if x includes function calls, which is why inline functions