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.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Math/Rotation.hpp b/src/Math/Rotation.hpp
index 334ede2..73a8219 100644
--- a/src/Math/Rotation.hpp
+++ b/src/Math/Rotation.hpp
@@ -24,7 +24,7 @@ public:
     }
 
     static Vector<3> wrap(Vector<3> v) {
-        return v.apply([=](float a) -> float { return fmod(a, 360.0f); });
+        return v.map([](auto a) { return fmod(a, 360.0f); });
     }
 
     Vector<3> vector;