mirror of https://github.com/AxioDL/zeus.git
Add scale matrix constructor
This commit is contained in:
parent
f17f2371bf
commit
d84d38a1a3
|
@ -40,6 +40,8 @@ public:
|
|||
m[1][1] = scaleVec[1];
|
||||
m[2][2] = scaleVec[2];
|
||||
}
|
||||
CMatrix3f(float scale)
|
||||
: CMatrix3f(CVector3f(scale)) {}
|
||||
CMatrix3f(const CVector3f& r0, const CVector3f& r1, const CVector3f& r2)
|
||||
{vec[0] = r0; vec[1] = r1; vec[2] = r2;}
|
||||
CMatrix3f(const CMatrix3f& other)
|
||||
|
|
Loading…
Reference in New Issue