Changeset 5670 in orxonox.OLD for trunk/src/lib/math
- Timestamp:
- Nov 21, 2005, 12:03:06 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/math/matrix.cc
r5669 r5670 44 44 if (Q < 0) 45 45 { 46 printf("good\n");47 46 float psi = atan2(sqrt(-Q), -b/2.0); 48 47 float p = sqrt((b/2.0)*(b/2.0) - Q); … … 68 67 eigVl.x = eigVl.y = eigVl.z = 1; 69 68 } 70 printf("%f %f %f\n", eigVl.x, eigVl.y, eigVl.z);71 69 return eigVl; 72 73 70 } 74 71 … … 92 89 93 90 eigVc[i] /= eigVc[i].len(); 94 printf("home brew: %f, %f, %f\n", eigVc[i].x, eigVc[i].y, eigVc[i].z);95 91 } 96 92 eigVc[2] = eigVc[0].cross(eigVc[1]); 97 printf("home brew: %f, %f, %f\n", eigVc[2].x, eigVc[2].y, eigVc[2].z);98 93 99 94 a = eigVc[0];
Note: See TracChangeset
for help on using the changeset viewer.