2022-10-09 05:13:17 +00:00
|
|
|
#ifndef _CUNITVECTOR3F
|
|
|
|
#define _CUNITVECTOR3F
|
2022-09-29 23:55:38 +00:00
|
|
|
|
|
|
|
#include "types.h"
|
|
|
|
|
|
|
|
#include "Kyoto/Math/CVector3f.hpp"
|
|
|
|
|
|
|
|
class CUnitVector3f : public CVector3f {
|
|
|
|
public:
|
2022-10-03 04:49:11 +00:00
|
|
|
CUnitVector3f(f32 x, f32 y, f32 z) : CVector3f(x, y, z) { Normalize(); }
|
2022-10-09 05:13:17 +00:00
|
|
|
CUnitVector3f(const CVector3f& vec); // : CVector3f(vec) { Normalize(); }
|
2022-09-29 23:55:38 +00:00
|
|
|
// TODO
|
|
|
|
};
|
|
|
|
CHECK_SIZEOF(CUnitVector3f, 0xc)
|
|
|
|
|
2022-10-09 05:13:17 +00:00
|
|
|
#endif // _CUNITVECTOR3F
|