Skip to content
Permalink
master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
#pragma once
#include "CRVec3.h"
namespace CR217
{
class CRmat3
{
private:
public:
float matrixData[9] = { 0.0 };
CRmat3();
CRmat3(float m0, float m1, float m2, float m3, float m4, float m5, float m6, float m7, float m8);
CRmat3& operator=(const CRmat3& value);
CR217::CRmat3& operator+(const CRmat3& m) const;
CR217::CRmat3& operator*(const float s) const;
void operator+=(const CRmat3& m);
void operator*=(const float s);
CR217::CRmat3 operator*(const CRmat3& m) const;
void operator*=(const CRmat3& m);
void setMatrixAsIdentityMatrix();
void setMatrixSaInverseOfGivenMatrix(const CRmat3& m);
CR217::CRmat3 getInverseOfMatrix() const;
void invertMatrix();
void setMatrixAsTransposeOfGivenMatrix(const CRmat3& m);
CR217::CRmat3 getTransposeOfMatrix() const;
CR217::CRVec3 operator*(const CRVec3& v) const;
CR217::CRVec3 transformVectorByMatrix(const CRVec3& v) const;
~CRmat3();
};
}