ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/trunk/OOPSE-4/src/math/Quaternion.hpp
(Generate patch)

Comparing trunk/OOPSE-4/src/math/Quaternion.hpp (file contents):
Revision 2204 by gezelter, Fri Apr 15 22:04:00 2005 UTC vs.
Revision 2759 by tim, Wed May 17 21:51:42 2006 UTC

# Line 58 | Line 58 | namespace oopse{
58     * @class Quaternion Quaternion.hpp "math/Quaternion.hpp"
59     * Quaternion is a sort of a higher-level complex number.
60     * It is defined as Q = w + x*i + y*j + z*k,
61 <   * where w, x, y, and z are numbers of type T (e.g. double), and
61 >   * where w, x, y, and z are numbers of type T (e.g. RealType), and
62     * i*i = -1; j*j = -1; k*k = -1;
63     * i*j = k; j*k = i; k*i = j;
64     */
# Line 355 | Line 355 | namespace oopse{
355      return equal(lhs[0] ,rhs[0]) && equal(lhs[1] , rhs[1]) && equal(lhs[2], rhs[2]) && equal(lhs[3], rhs[3]);
356    }
357      
358 <  typedef Quaternion<double> Quat4d;
358 >  typedef Quaternion<RealType> Quat4d;
359   }
360   #endif //MATH_QUATERNION_HPP

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines