prime/include/MetroidPrime/CAxisAngle.hpp

25 lines
525 B
C++
Raw Normal View History

#ifndef _CAXISANGLE_HPP
#define _CAXISANGLE_HPP
#include "types.h"
2022-10-05 16:28:37 +00:00
#include <math.h>
#include "Kyoto/Math/CVector3f.hpp"
2022-10-05 17:24:06 +00:00
class CAxisAngle {
public:
2022-10-05 17:24:06 +00:00
CAxisAngle(f32 x, f32 y, f32 z) : mVector(x, y, z) {}
explicit CAxisAngle(const CVector3f& vec);
2022-10-05 23:06:15 +00:00
static const CAxisAngle& Identity();
const CVector3f& GetVector() const;
2022-10-05 22:50:12 +00:00
const CAxisAngle& operator+=(const CAxisAngle& rhs);
2022-10-05 17:24:06 +00:00
private:
CVector3f mVector;
};
2022-10-05 16:28:37 +00:00
CAxisAngle operator+(const CAxisAngle& lhs, const CAxisAngle& rhs);
CHECK_SIZEOF(CAxisAngle, 0xc)
2022-09-18 06:05:46 +00:00
#endif