- Timestamp:
- Nov 22, 2005, 12:55:02 AM (19 years ago)
- Location:
- trunk/src/lib
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/collision_detection/obb_tree_node.cc
r5693 r5694 428 428 Vector* axis = new Vector[3]; //!< the references to the obb axis 429 429 430 Matrix covMat( box->covarianceMatrix[0][0], box->covarianceMatrix[0][1], box->covarianceMatrix[0][2], 431 box->covarianceMatrix[1][0], box->covarianceMatrix[1][1], box->covarianceMatrix[1][2], 432 box->covarianceMatrix[2][0], box->covarianceMatrix[2][1], box->covarianceMatrix[2][2] ); 430 Matrix covMat( box->covarianceMatrix ); 433 431 covMat.getEigenVectors(axis[0], axis[1], axis[2] ); 434 432 -
trunk/src/lib/math/matrix.h
r5692 r5694 22 22 this->m31 = m31; this->m32 = m32; this->m33 = m33; 23 23 }; 24 Matrix(const float m[9]) {}; 24 Matrix(const float m[3][3]) { 25 this->m11 = m[0][0]; this->m12 = m[0][1]; this->m13 = m[0][2]; 26 this->m21 = m[1][0]; this->m22 = m[1][1]; this->m23 = m[1][2]; 27 this->m31 = m[2][0]; this->m32 = m[2][1]; this->m33 = m[2][2]; 28 }; 25 29 26 30 Matrix operator+ (const Matrix& m) const {
Note: See TracChangeset
for help on using the changeset viewer.