Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 5670 in orxonox.OLD for trunk/src/lib/math


Ignore:
Timestamp:
Nov 21, 2005, 12:03:06 PM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: eigenVc Cleanup

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/lib/math/matrix.cc

    r5669 r5670  
    4444  if (Q < 0)
    4545  {
    46     printf("good\n");
    4746    float psi = atan2(sqrt(-Q), -b/2.0);
    4847    float p = sqrt((b/2.0)*(b/2.0) - Q);
     
    6867    eigVl.x = eigVl.y = eigVl.z = 1;
    6968  }
    70   printf("%f %f %f\n", eigVl.x, eigVl.y, eigVl.z);
    7169  return eigVl;
    72 
    7370}
    7471
     
    9289
    9390    eigVc[i] /= eigVc[i].len();
    94     printf("home brew: %f, %f, %f\n", eigVc[i].x, eigVc[i].y, eigVc[i].z);
    9591  }
    9692  eigVc[2] = eigVc[0].cross(eigVc[1]);
    97     printf("home brew: %f, %f, %f\n", eigVc[2].x, eigVc[2].y, eigVc[2].z);
    9893
    9994  a = eigVc[0];
Note: See TracChangeset for help on using the changeset viewer.