diff --git a/include/zeus/CTransform.hpp b/include/zeus/CTransform.hpp index 0075f7d..9e54cbe 100644 --- a/include/zeus/CTransform.hpp +++ b/include/zeus/CTransform.hpp @@ -65,7 +65,7 @@ public: return *this; } - inline void rotate(const CVector3f& euler) { *this = *this * CMatrix3f(CQuaternion(euler)); } + inline zeus::CVector3f rotate(const CVector3f& vec) const { return *this * vec; } static inline CTransform RotateX(float theta) {