mirror of
https://github.com/AxioDL/zeus.git
synced 2025-06-24 07:23:30 +00:00
made CTransform::rotate a const transform func only
This commit is contained in:
parent
b721e09ef5
commit
8154c82d78
@ -65,7 +65,7 @@ public:
|
|||||||
return *this;
|
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)
|
static inline CTransform RotateX(float theta)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user