From ee10ce118953843d1cf3341206f94c8b0d0f0cdf Mon Sep 17 00:00:00 2001 From: dario Date: Fri, 28 Jun 2024 18:08:57 +0200 Subject: [PATCH] Fixed a problem in the quaternion implementation --- include/sta/math/quaternion.hpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/sta/math/quaternion.hpp b/include/sta/math/quaternion.hpp index 0e7e528..2e2e67d 100644 --- a/include/sta/math/quaternion.hpp +++ b/include/sta/math/quaternion.hpp @@ -61,6 +61,8 @@ namespace sta Quaternion normalized(); Quaternion conjugate(); + + matrix toRotationMatrix(); public: float x, y, z, w; };