Changeset 5697 in orxonox.OLD for trunk/src/lib/math
- Timestamp:
- Nov 22, 2005, 1:41:36 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/math/matrix.h
r5696 r5697 31 31 void getEigenVectors(Vector& a, Vector& b, Vector& c) const; 32 32 33 / // @todo optimize34 static Matrix identity() { return Matrix 33 /** @returns the Identity-Matrix (diagonal 3x3 with 1's everywhere) */ 34 static Matrix identity() { return Matrix(1,0,0, 0,1,0, 0,0,1); } 35 35 36 36 void debug() const; 37 37 38 38 public: 39 float m11; float m12; float m13; 40 float m21; float m22; float m23; 41 float m31; float m32; float m33; 39 float m11; //!< Matrix Entry [0][0] 40 float m12; //!< Matrix Entry [0][1] 41 float m13; //!< Matrix Entry [0][2] 42 float m21; //!< Matrix Entry [1][0] 43 float m22; //!< Matrix Entry [1][1] 44 float m23; //!< Matrix Entry [1][2] 45 float m31; //!< Matrix Entry [2][2] 46 float m32; //!< Matrix Entry [2][2] 47 float m33; //!< Matrix Entry [2][2] 42 48 };
Note: See TracChangeset
for help on using the changeset viewer.