mirror of https://github.com/AxioDL/zeus.git
Add CVector3f->CEulerAngles constructor to CEulerAngles
This commit is contained in:
parent
bb9b4c83af
commit
f3630be9de
|
@ -9,8 +9,9 @@ class CTransform;
|
||||||
class CEulerAngles : public CVector3f {
|
class CEulerAngles : public CVector3f {
|
||||||
public:
|
public:
|
||||||
constexpr CEulerAngles(float x, float y, float z) : CVector3f(x, y, z) {}
|
constexpr CEulerAngles(float x, float y, float z) : CVector3f(x, y, z) {}
|
||||||
CEulerAngles(const CQuaternion& quat);
|
explicit CEulerAngles(const CQuaternion& quat);
|
||||||
CEulerAngles(const CTransform& xf);
|
explicit CEulerAngles(const CTransform& xf);
|
||||||
|
explicit CEulerAngles(const CVector3f& vec) : CVector3f(vec) {}
|
||||||
};
|
};
|
||||||
|
|
||||||
} // namespace zeus
|
} // namespace zeus
|
||||||
|
|
Loading…
Reference in New Issue