prime/include/Kyoto/Math/CNUQuaternion.hpp

20 lines
318 B
C++
Raw Normal View History

#ifndef _CNUQUATERNION_HPP
#define _CNUQUATERNION_HPP
#include "types.h"
2022-10-05 16:28:37 +00:00
class CMatrix3f;
class CNUQuaternion {
public:
CNUQuaternion(f32 w, f32 x, f32 y, f32 z) : w(w), x(x), y(y), z(z) {}
2022-10-05 16:28:37 +00:00
static CNUQuaternion BuildFromMatrix3f(const CMatrix3f& matrix);
private:
f32 w;
f32 x;
f32 y;
f32 z;
};
2022-09-18 06:05:46 +00:00
#endif