43 FXMat2f(FXfloat a00,FXfloat a01,
44 FXfloat a10,FXfloat a11);
62 explicit FXMat2f(
const FXfloat s[]);
72 FXMat2f& operator=(
const FXfloat s[]);
78 FXMat2f&
set(FXfloat a00,FXfloat a01,
79 FXfloat a10,FXfloat a11);
91 FXMat2f&
set(FXfloat a,FXfloat b);
97 FXMat2f&
set(
const FXfloat s[]);
103 FXMat2f& operator*=(FXfloat s);
104 FXMat2f& operator/=(FXfloat s);
108 const FXVec2f& operator[](FXint i)
const {
return m[i];}
111 operator FXfloat*(){
return m[0];}
112 operator const FXfloat*()
const {
return m[0];}
115 FXMat2f operator-()
const;
121 FXbool isIdentity()
const;
124 FXMat2f& rot(FXfloat c,FXfloat s);
125 FXMat2f& rot(FXfloat phi);
128 FXMat2f& scale(FXfloat sx,FXfloat sy);
129 FXMat2f& scale(FXfloat s);
135 FXMat2f transpose()
const;
138 FXMat2f invert()
const;
146 extern FXAPI FXVec2f operator*(
const FXMat2f& m,
const FXVec2f& v);
149 extern FXAPI FXVec2f operator*(
const FXVec2f& v,
const FXMat2f& m);
152 extern FXAPI FXMat2f operator+(
const FXMat2f& a,
const FXMat2f& b);
153 extern FXAPI FXMat2f operator-(
const FXMat2f& a,
const FXMat2f& b);
156 extern FXAPI FXMat2f operator*(
const FXMat2f& a,
const FXMat2f& b);
159 extern FXAPI FXMat2f operator*(FXfloat x,
const FXMat2f& a);
160 extern FXAPI FXMat2f operator*(
const FXMat2f& a,FXfloat x);
161 extern FXAPI FXMat2f operator/(
const FXMat2f& a,FXfloat x);
162 extern FXAPI FXMat2f operator/(FXfloat x,
const FXMat2f& a);
165 extern FXAPI FXbool operator==(
const FXMat2f& a,
const FXMat2f& b);
166 extern FXAPI FXbool operator!=(
const FXMat2f& a,
const FXMat2f& b);
167 extern FXAPI FXbool operator==(
const FXMat2f& a,FXfloat n);
168 extern FXAPI FXbool operator!=(
const FXMat2f& a,FXfloat n);
169 extern FXAPI FXbool operator==(FXfloat n,
const FXMat2f& a);
170 extern FXAPI FXbool operator!=(FXfloat n,
const FXMat2f& a);
173 extern FXAPI FXMat2f orthogonalize(
const FXMat2f& m);
176 extern FXAPI FXStream& operator<<(FXStream& store,
const FXMat2f& m);
179 extern FXAPI FXStream& operator>>(FXStream& store,FXMat2f& m);
FXVec2f & operator[](FXint i)
Indexing.
Definition: FXMat2f.h:107
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:141