prime/include/MetroidPrime/CAxisAngle.hpp
Luke Street a578b055a2 Header merge & CScriptPickup progress
Former-commit-id: 45c5450376d459f391851c2d1f8b10306db8bac5
2022-10-05 19:06:15 -04:00

25 lines
525 B
C++

#ifndef _CAXISANGLE_HPP
#define _CAXISANGLE_HPP
#include "types.h"
#include <math.h>
#include "Kyoto/Math/CVector3f.hpp"
class CAxisAngle {
public:
CAxisAngle(f32 x, f32 y, f32 z) : mVector(x, y, z) {}
explicit CAxisAngle(const CVector3f& vec);
static const CAxisAngle& Identity();
const CVector3f& GetVector() const;
const CAxisAngle& operator+=(const CAxisAngle& rhs);
private:
CVector3f mVector;
};
CAxisAngle operator+(const CAxisAngle& lhs, const CAxisAngle& rhs);
CHECK_SIZEOF(CAxisAngle, 0xc)
#endif