Changeset 6450 in orxonox.OLD for branches/collision_detection/src/lib/math
- Timestamp:
- Jan 9, 2006, 2:14:00 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/collision_detection/src/lib/math/matrix.cc
r5677 r6450 83 83 } 84 84 85 86 87 85 88 void Matrix::getEigenVectors(Vector& eigVc1, Vector& eigVc2, Vector& eigVc3) const 86 89 { … … 110 113 111 114 eigVc3 = eigVc1.cross(eigVc2); 115 116 eigVc2 = eigVc3.cross(eigVc1); 112 117 } 113 118 else if (eigenValuesCount == 1) … … 120 125 eigVc2.normalize(); 121 126 eigVc3.normalize(); 127 128 if (!(eigVc1.cross(eigVc3) == eigVc2)) 129 { 130 eigVc3.cross(eigVc1).debug(); 131 eigVc2.debug(); 132 } 133 printf("ok\n"); 122 134 } 123 135
Note: See TracChangeset
for help on using the changeset viewer.