Changeset 5667 in orxonox.OLD for trunk/src/lib
- Timestamp:
- Nov 21, 2005, 10:41:48 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/math/matrix.cc
r5666 r5667 107 107 } 108 108 109 Vector eigVc[3];109 //Vector eigVc[3]; 110 110 /* eigenvec test */ 111 /* 111 112 for(int i = 0; i < 3; i++) 112 113 { 113 eigVc[i].x =-1/this->m13*(this->m33 - eigValue[i]) + (this->m32*(-this->m31*this->m32 + this->m12*this->m33 - this->m12*eigV alue[i])) /114 this->m13*(-this->m13*this->m22 - this->m12*this->m23 + this->m13*eigV alue[i]);115 eigVc[i].y = -( -this->m13*this->m23 + this->m12*this->m33 - this->m12*eigV alue[i]) /116 (-this->m31*this->m22 + this->m12*this->m23 + this->m13*eigV alue[i]);114 eigVc[i].x =-1/this->m13*(this->m33 - eigValue[i]) + (this->m32*(-this->m31*this->m32 + this->m12*this->m33 - this->m12*eigVl[i])) / 115 this->m13*(-this->m13*this->m22 - this->m12*this->m23 + this->m13*eigVl[i]); 116 eigVc[i].y = -( -this->m13*this->m23 + this->m12*this->m33 - this->m12*eigVl[i]) / 117 (-this->m31*this->m22 + this->m12*this->m23 + this->m13*eigVl[i]); 117 118 eigVc[i].z = 1.0f; 118 119 … … 120 121 printf("home brewn: %f, %f, %f\n", eigVc[i].x, eigVc[i].y, eigVc[i].z); 121 122 122 } 123 }*/ 123 124 124 125
Note: See TracChangeset
for help on using the changeset viewer.