57 FXMat3f(FXfloat a,FXfloat b,FXfloat c);
60 FXMat3f(FXfloat a00,FXfloat a01,FXfloat a02,
61 FXfloat a10,FXfloat a11,FXfloat a12,
62 FXfloat a20,FXfloat a21,FXfloat a22);
82 FXMat3f& operator=(
const FXfloat s[]);
97 FXMat3f&
set(
const FXfloat s[]);
100 FXMat3f&
set(FXfloat a,FXfloat b,FXfloat c);
103 FXMat3f&
set(FXfloat a00,FXfloat a01,FXfloat a02,
104 FXfloat a10,FXfloat a11,FXfloat a12,
105 FXfloat a20,FXfloat a21,FXfloat a22);
117 FXMat3f& operator*=(FXfloat w);
118 FXMat3f& operator/=(FXfloat w);
122 const FXVec3f& operator[](FXint i)
const {
return m[i];}
125 operator FXfloat*(){
return m[0];}
126 operator const FXfloat*()
const {
return m[0];}
129 FXMat3f operator-()
const;
135 FXbool isIdentity()
const;
138 FXMat3f& rot(
const FXQuatf& q);
141 FXMat3f& rot(
const FXVec3f& v,FXfloat c,FXfloat s);
144 FXMat3f& rot(
const FXVec3f& v,FXfloat phi);
147 FXMat3f& xrot(FXfloat c,FXfloat s);
148 FXMat3f& xrot(FXfloat phi);
151 FXMat3f& yrot(FXfloat c,FXfloat s);
152 FXMat3f& yrot(FXfloat phi);
155 FXMat3f& zrot(FXfloat c,FXfloat s);
156 FXMat3f& zrot(FXfloat phi);
159 FXMat3f& scale(FXfloat sx,FXfloat sy,FXfloat sz);
160 FXMat3f& scale(
const FXVec3f& v);
161 FXMat3f& scale(FXfloat s);
164 FXMat3f& mirror(
const FXVec3f& n);
170 FXMat3f transpose()
const;
173 FXMat3f invert()
const;
181 extern FXAPI FXVec2f operator*(
const FXMat3f& m,
const FXVec2f& v);
182 extern FXAPI FXVec3f operator*(
const FXMat3f& m,
const FXVec3f& v);
185 extern FXAPI FXVec2f operator*(
const FXVec2f& v,
const FXMat3f& m);
186 extern FXAPI FXVec3f operator*(
const FXVec3f& v,
const FXMat3f& m);
189 extern FXAPI FXMat3f operator+(
const FXMat3f& a,
const FXMat3f& b);
190 extern FXAPI FXMat3f operator-(
const FXMat3f& a,
const FXMat3f& b);
193 extern FXAPI FXMat3f operator*(
const FXMat3f& a,
const FXMat3f& b);
196 extern FXAPI FXMat3f operator*(FXfloat x,
const FXMat3f& a);
197 extern FXAPI FXMat3f operator*(
const FXMat3f& a,FXfloat x);
198 extern FXAPI FXMat3f operator/(
const FXMat3f& a,FXfloat x);
199 extern FXAPI FXMat3f operator/(FXfloat x,
const FXMat3f& a);
202 extern FXAPI FXbool operator==(
const FXMat3f& a,
const FXMat3f& b);
203 extern FXAPI FXbool operator!=(
const FXMat3f& a,
const FXMat3f& b);
204 extern FXAPI FXbool operator==(
const FXMat3f& a,FXfloat n);
205 extern FXAPI FXbool operator!=(
const FXMat3f& a,FXfloat n);
206 extern FXAPI FXbool operator==(FXfloat n,
const FXMat3f& a);
207 extern FXAPI FXbool operator!=(FXfloat n,
const FXMat3f& a);
210 extern FXAPI FXMat3f orthogonalize(
const FXMat3f& m);
213 extern FXAPI FXStream& operator<<(FXStream& store,
const FXMat3f& m);
216 extern FXAPI FXStream& operator>>(FXStream& store,FXMat3f& m);
~FXMat3f()
Destructor.
Definition: FXMat3f.h:176
Single-precision 3x3 matrix.
Definition: FXMat3f.h:33
FXVec3f & operator[](FXint i)
Indexing.
Definition: FXMat3f.h:121
Definition: FX4Splitter.h:28
Single-precision quaternion.
Definition: FXQuatf.h:32
Single-precision 3-element vector.
Definition: FXVec3f.h:28
Single-precision 4x4 matrix.
Definition: FXMat4f.h:32
Single-precision 2x2 matrix.
Definition: FXMat2f.h:31
FXMat3f()
Default constructor; value is not initialized.
Definition: FXMat3f.h:39