Implement CScriptSpecialFunction::ThinkSpinnerController

Former-commit-id: d26a30f186
This commit is contained in:
Henrique Gemignani Passos Lima
2022-10-03 14:55:03 +03:00
parent 8d5f1bb546
commit 16e4de9bfe
10 changed files with 65 additions and 42 deletions

View File

@@ -5,16 +5,15 @@
#include "Kyoto/Math/CVector3f.hpp"
class CAxisAngle {
class CAxisAngle : CVector3f {
public:
CAxisAngle(f32 x, f32 y, f32 z) : x(x), y(y), z(z) {}
CAxisAngle(const CAxisAngle& other) : x(other.x), y(other.y), z(other.z) {}
CAxisAngle(f32 x, f32 y, f32 z) : CVector3f(x, y, z) {}
CAxisAngle(const CAxisAngle& other) : CVector3f(other) {}
static const CAxisAngle& Identity();
const CVector3f& GetVector() const;
private:
// maybe CUnitVector3f?
f32 x, y, z;
};
CHECK_SIZEOF(CAxisAngle, 0xc)