summary refs log tree commit diff
path: root/src/Math/Rotation.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/Math/Rotation.hpp')
-rw-r--r--src/Math/Rotation.hpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Math/Rotation.hpp b/src/Math/Rotation.hpp
index d12ac29..d8dff72 100644
--- a/src/Math/Rotation.hpp
+++ b/src/Math/Rotation.hpp
@@ -15,6 +15,10 @@ struct Rotation {
         vector = wrap({pitch, yaw, roll });
     }
 
+    static Rotation zero() {
+        return {0, 0, 0};
+    }
+
     Vector<3> radians() const {
         return vector.map([](auto a) { return Math::radians(a); });
     }