mirror of
https://github.com/PrimeDecomp/prime.git
synced 2025-12-15 00:46:07 +00:00
@@ -3,12 +3,18 @@
|
||||
|
||||
#include "Kyoto/Math/CVector3f.hpp"
|
||||
|
||||
class CTransform4f;
|
||||
class CQuaternion;
|
||||
|
||||
class CEulerAngles : public CVector3f {
|
||||
public:
|
||||
CEulerAngles(float x, float y, float z) : CVector3f(x, y, z) {}
|
||||
CEulerAngles(float roll, float pitch, float yaw) : CVector3f(roll, pitch, yaw) {}
|
||||
|
||||
static CEulerAngles FromTransform(const CTransform4f&);
|
||||
static CEulerAngles FromQuaternion(const CQuaternion&);
|
||||
|
||||
private:
|
||||
static CEulerAngles sIdentity;
|
||||
};
|
||||
|
||||
#endif // _CEULERANGLES
|
||||
|
||||
Reference in New Issue
Block a user