Add CVector3f->CEulerAngles constructor to CEulerAngles

This commit is contained in:
Phillip Stephens 2021-07-11 17:56:32 -07:00
parent bb9b4c83af
commit f3630be9de
Signed by: Antidote
GPG Key ID: F8BEE4C83DACA60D
1 changed files with 3 additions and 2 deletions

View File

@ -9,8 +9,9 @@ class CTransform;
class CEulerAngles : public CVector3f {
public:
constexpr CEulerAngles(float x, float y, float z) : CVector3f(x, y, z) {}
CEulerAngles(const CQuaternion& quat);
CEulerAngles(const CTransform& xf);
explicit CEulerAngles(const CQuaternion& quat);
explicit CEulerAngles(const CTransform& xf);
explicit CEulerAngles(const CVector3f& vec) : CVector3f(vec) {}
};
} // namespace zeus