Fixed angle conversion issues

Fixed a variable name and method that should be const.
Also fixed several angle conversion functions that didn't convert the
angle correct.
This commit is contained in:
Nathan Bowhay 2015-02-03 12:16:06 -08:00
parent c7e0d83587
commit ad267f0505
3 changed files with 43 additions and 28 deletions

View file

@ -81,7 +81,7 @@ public:
QuatF& interpolate( const QuatF & q1, const QuatF & q2, F32 t );
F32 angleBetween( const QuatF & q );
Point3F& mulP(const Point3F& a, Point3F* b); // r = p * this
Point3F& mulP(const Point3F& a, Point3F* r) const; // r = p * this
QuatF& mul(const QuatF& a, const QuatF& b); // This = a * b
// Vectors passed in must be normalized