Go to the source code of this file.
Functions | |
| Matrix4By4 | operator * (const Matrix4By4 &m1, const Matrix4By4 &m2) |
|
||||||||||||
|
Definition at line 78 of file Matrix44.cpp. 00079 {
00080 Matrix4By4 mResult;
00081
00082 mResult.Zero();
00083 for (j2klib::TCard4 c4Outer = 0; c4Outer < 4; c4Outer++)
00084 {
00085 for (j2klib::TCard4 c4Inner = 0; c4Inner < 4; c4Inner++)
00086 {
00087 for (j2klib::TCard4 c4Element = 0; c4Element < 4; c4Element++)
00088 mResult.jMatrix[c4Outer][c4Inner]
00089 += (m1.jMatrix[c4Outer][c4Element]
00090 * m2.jMatrix[c4Element][c4Inner]);
00091 }
00092 }
00093 return mResult;
00094 }
|
1.2.11.1 written by Dimitri van Heesch,
© 1997-2001