#include <jMatrix.hpp>
Public Methods | |
jMatrix () | |
jMatrix (const jMatrix &obj) | |
~jMatrix () | |
void | enter (float m00, float m01, float m02, float m03, float m10, float m11, float m12, float m13, float m20, float m21, float m22, float m23, float m30, float m31, float m32, float m33) |
void | identity () |
void | clear () |
void | printSelf () |
void | add (jMatrix &add) |
void | subtract (jMatrix &sub) |
void | mult (jMatrix mult) |
void | negative () |
void | tform (vect3f &point) |
void | tform (vect3f *point) |
jMatrix | operator+ (jMatrix &) |
jMatrix | operator- (jMatrix &) |
jMatrix | operator- () |
jMatrix | operator * (jMatrix &) |
void | operator+= (jMatrix &) |
void | operator-= (jMatrix &) |
void | operator *= (jMatrix &) |
Public Attributes | |
float | m [4][4] |
|
Definition at line 36 of file jMatrix.hpp. 00036 {} |
|
Definition at line 73 of file jMatrix.hpp. |
|
Definition at line 38 of file jMatrix.hpp. 00038 {} |
|
Definition at line 148 of file jMatrix.hpp. Referenced by operator+(), and operator+=().
|
|
Definition at line 127 of file jMatrix.hpp. Referenced by mult().
|
|
Definition at line 84 of file jMatrix.hpp. 00088 { 00089 m[0][0] = m00; 00090 m[0][1] = m01; 00091 m[0][2] = m02; 00092 m[0][3] = m03; 00093 00094 m[1][0] = m10; 00095 m[1][1] = m11; 00096 m[1][2] = m12; 00097 m[1][3] = m13; 00098 00099 m[2][0] = m20; 00100 m[2][1] = m21; 00101 m[2][2] = m22; 00102 m[2][3] = m23; 00103 00104 m[3][0] = m30; 00105 m[3][1] = m31; 00106 m[3][2] = m32; 00107 m[3][3] = m33; 00108 } |
|
Definition at line 112 of file jMatrix.hpp. Referenced by jMatrixStack::jMatrixStack(), jMatrixStack::rotxdeg(), jMatrixStack::rotxrad(), jMatrixStack::rotydeg(), jMatrixStack::rotyrad(), jMatrixStack::rotzdeg(), jMatrixStack::rotzrad(), jMatrixStack::scale(), and jMatrixStack::trans().
|
|
Definition at line 172 of file jMatrix.hpp. Referenced by operator *(), and operator *=().
|
|
Definition at line 190 of file jMatrix.hpp. Referenced by operator-().
|
|
Definition at line 257 of file jMatrix.hpp. |
|
Definition at line 280 of file jMatrix.hpp. 00281 { 00282 mult(obj); 00283 } |
|
Definition at line 230 of file jMatrix.hpp. |
|
Definition at line 266 of file jMatrix.hpp. 00267 { 00268 add(obj); 00269 } |
|
Definition at line 248 of file jMatrix.hpp. |
|
Definition at line 239 of file jMatrix.hpp. |
|
Definition at line 273 of file jMatrix.hpp. 00274 { 00275 subtract(obj); 00276 } |
|
Definition at line 138 of file jMatrix.hpp. 00139 { 00140 printf("| %-+7.2f %-+7.2f %-+7.2f %-+7.2f|\n", m[0][0], m[0][1], m[0][2], m[0][3]); 00141 printf("| %-+7.2f %-+7.2f %-+7.2f %-+7.2f|\n", m[1][0], m[1][1], m[1][2], m[1][3]); 00142 printf("| %-+7.2f %-+7.2f %-+7.2f %-+7.2f|\n", m[2][0], m[2][1], m[2][2], m[2][3]); 00143 printf("| %-+7.2f %-+7.2f %-+7.2f %-+7.2f|\n\n", m[3][0], m[3][1], m[3][2], m[3][3]); 00144 } |
|
Definition at line 160 of file jMatrix.hpp. Referenced by operator-(), and operator-=().
|
|
Definition at line 216 of file jMatrix.hpp. |
|
Definition at line 202 of file jMatrix.hpp. |
|
Definition at line 41 of file jMatrix.hpp. Referenced by add(), jMatrix(), mult(), jMatrixStack::rotxdeg(), jMatrixStack::rotxrad(), jMatrixStack::rotydeg(), jMatrixStack::rotyrad(), jMatrixStack::rotzdeg(), jMatrixStack::rotzrad(), jMatrixStack::scale(), subtract(), and jMatrixStack::trans().
|