55 FXMat2f(FXfloat a00,FXfloat a01,FXfloat a10,FXfloat a11);
68 FXMat2f& operator=(
const FXfloat s[]);
80 FXMat2f&
set(
const FXfloat s[]);
83 FXMat2f&
set(FXfloat a,FXfloat b);
86 FXMat2f&
set(FXfloat a00,FXfloat a01,FXfloat a10,FXfloat a11);
100 const FXVec2f& operator[](FXint i)
const {
return m[i];}
103 operator FXfloat*(){
return m[0];}
104 operator const FXfloat*()
const {
return m[0];}
107 FXMat2f operator-()
const;
113 FXbool isIdentity()
const;
116 FXMat2f& rot(FXfloat c,FXfloat s);
117 FXMat2f& rot(FXfloat phi);
120 FXMat2f& scale(FXfloat sx,FXfloat sy);
121 FXMat2f& scale(FXfloat s);
127 FXMat2f transpose()
const;
130 FXMat2f invert()
const;
138 extern FXAPI FXVec2f operator*(
const FXMat2f& m,
const FXVec2f& v);
141 extern FXAPI FXVec2f operator*(
const FXVec2f& v,
const FXMat2f& m);
144 extern FXAPI FXMat2f operator+(
const FXMat2f& a,
const FXMat2f& b);
145 extern FXAPI FXMat2f operator-(
const FXMat2f& a,
const FXMat2f& b);
148 extern FXAPI FXMat2f operator*(
const FXMat2f& a,
const FXMat2f& b);
151 extern FXAPI FXMat2f operator*(FXfloat x,
const FXMat2f& a);
152 extern FXAPI FXMat2f operator*(
const FXMat2f& a,FXfloat x);
153 extern FXAPI FXMat2f operator/(
const FXMat2f& a,FXfloat x);
154 extern FXAPI FXMat2f operator/(FXfloat x,
const FXMat2f& a);
157 extern FXAPI FXbool operator==(
const FXMat2f& a,
const FXMat2f& b);
158 extern FXAPI FXbool operator!=(
const FXMat2f& a,
const FXMat2f& b);
159 extern FXAPI FXbool operator==(
const FXMat2f& a,FXfloat n);
160 extern FXAPI FXbool operator!=(
const FXMat2f& a,FXfloat n);
161 extern FXAPI FXbool operator==(FXfloat n,
const FXMat2f& a);
162 extern FXAPI FXbool operator!=(FXfloat n,
const FXMat2f& a);
165 extern FXAPI FXMat2f orthogonalize(
const FXMat2f& m);
168 extern FXAPI FXStream& operator<<(FXStream& store,
const FXMat2f& m);
171 extern FXAPI FXStream& operator>>(FXStream& store,FXMat2f& m);
FXVec2f & operator[](FXint i)
Indexing.
Definition: FXMat2f.h:99
Single-precision 2-element vector.
Definition: FXVec2f.h:28
FXMat2f()
Default constructor; value is not initialized.
Definition: FXMat2f.h:37
Single-precision 3x3 matrix.
Definition: FXMat3f.h:33
Definition: FX4Splitter.h:28
Single-precision 2x2 matrix.
Definition: FXMat2f.h:31
~FXMat2f()
Destructor.
Definition: FXMat2f.h:133