mirror of https://github.com/AxioDL/zeus.git
made CTransform::rotate a const transform func only
This commit is contained in:
parent
b721e09ef5
commit
8154c82d78
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue