Browse Source

Brought DualComplex into Magnum namespace.

pull/278/head
Vladimír Vondruš 13 years ago
parent
commit
e204dbc109
  1. 3
      src/Magnum.h
  2. 2
      src/Math/DualComplex.h

3
src/Magnum.h

@ -120,6 +120,9 @@ typedef Math::Matrix4<GLdouble> Matrix4d;
/** @brief %Complex number */
typedef Math::Complex<GLfloat> Complex;
/** @brief %Dual complex number */
typedef Math::DualComplex<GLfloat> DualComplex;
/** @brief %Quaternion */
typedef Math::Quaternion<GLfloat> Quaternion;

2
src/Math/DualComplex.h

@ -30,7 +30,7 @@ namespace Magnum { namespace Math {
@tparam T Underlying data type
Represents 2D rotation and translation.
@see Dual, Complex, Matrix3
@see Magnum::DualComplex, Dual, Complex, Matrix3
@todo Can this be done similarly as in dual quaternions? It sort of works, but
the math beneath is weird.
*/

Loading…
Cancel
Save