prime/include/Kyoto/Math/CMatrix3f.hpp
Henrique Gemignani Passos Lima aacfe7feff Add CParticleGenInfo and CParticleGenInfoGeneric
Former-commit-id: f7715e98f631c287c0727dc894aa33923f2a2d7f
2022-10-17 18:02:11 +03:00

28 lines
490 B
C++

#ifndef _CMATRIX3F
#define _CMATRIX3F
#include "types.h"
#include "Kyoto/Math/CVector3f.hpp"
class CMatrix3f {
static const CMatrix3f sIdentity;
public:
CMatrix3f(const CMatrix3f&);
const CMatrix3f& operator=(const CMatrix3f& other);
static const CMatrix3f& Identity() { return sIdentity; }
CMatrix3f Orthonormalized() const;
private:
// TODO maybe individual floats
CVector3f m0;
CVector3f m1;
CVector3f m2;
};
CHECK_SIZEOF(CMatrix3f, 0x24);
#endif // _CMATRIX3F