summaryrefslogtreecommitdiffhomepage
path: root/api
diff options
context:
space:
mode:
Diffstat (limited to 'api')
-rw-r--r--api/plugin-api.hpp11
1 files changed, 8 insertions, 3 deletions
diff --git a/api/plugin-api.hpp b/api/plugin-api.hpp
index 3950ade0..a4573c85 100644
--- a/api/plugin-api.hpp
+++ b/api/plugin-api.hpp
@@ -21,10 +21,15 @@
using Pose = Mat<double, 6, 1>;
-enum Axis {
- TX, TY, TZ, Yaw, Pitch, Roll,
-
+enum Axis : int
+{
NonAxis = -1,
+ TX = 0, TY = 1, TZ = 2,
+
+ Yaw = 3, Pitch = 4, Roll = 5,
+ Axis_MIN = TX, Axis_MAX = 5,
+
+ AXIS_COUNT = 6,
};
namespace plugin_api::detail {