Add CQuaternion::transform

This commit is contained in:
Jack Andersen 2016-08-21 10:37:58 -10:00
parent b71cf19344
commit 81afa635ef
1 changed files with 2 additions and 0 deletions

View File

@ -181,6 +181,8 @@ public:
return {q.x, q.y, q.z}; return {q.x, q.y, q.z};
} }
CVector3f transform(const CVector3f& v) const { return rotate(*this, v); }
CQuaternion log() const; CQuaternion log() const;
CQuaternion exp() const; CQuaternion exp() const;