mirror of https://github.com/AxioDL/zeus.git
Add CQuaternion::transform
This commit is contained in:
parent
b71cf19344
commit
81afa635ef
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue