prime/include/MetroidPrime/CEulerAngles.hpp

21 lines
442 B
C++
Raw Permalink Normal View History

2022-10-16 22:49:37 +00:00
#ifndef _CEULERANGLES
#define _CEULERANGLES
#include "Kyoto/Math/CVector3f.hpp"
2022-12-07 05:13:59 +00:00
class CTransform4f;
2022-10-16 22:49:37 +00:00
class CQuaternion;
class CEulerAngles : public CVector3f {
public:
2022-12-07 05:13:59 +00:00
CEulerAngles(float roll, float pitch, float yaw) : CVector3f(roll, pitch, yaw) {}
static CEulerAngles FromTransform(const CTransform4f&);
2022-10-16 22:49:37 +00:00
static CEulerAngles FromQuaternion(const CQuaternion&);
2022-12-07 05:13:59 +00:00
private:
static CEulerAngles sIdentity;
2022-10-16 22:49:37 +00:00
};
#endif // _CEULERANGLES