prime/include/Kyoto/Math/CNUQuaternion.hpp
Phillip Stephens 69dbad8bce Start work on CPhysicsActor
Former-commit-id: dc8e4b810638b2792e55369a636d3fca50b3bba2
2022-10-05 09:28:48 -07:00

20 lines
318 B
C++

#ifndef _CNUQUATERNION_HPP
#define _CNUQUATERNION_HPP
#include "types.h"
class CMatrix3f;
class CNUQuaternion {
public:
CNUQuaternion(f32 w, f32 x, f32 y, f32 z) : w(w), x(x), y(y), z(z) {}
static CNUQuaternion BuildFromMatrix3f(const CMatrix3f& matrix);
private:
f32 w;
f32 x;
f32 y;
f32 z;
};
#endif