From e204dbc109ee060eda95605d43914ae362546202 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Wed, 27 Feb 2013 11:31:31 +0100 Subject: [PATCH] Brought DualComplex into Magnum namespace. --- src/Magnum.h | 3 +++ src/Math/DualComplex.h | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/Magnum.h b/src/Magnum.h index 05b6b5c17..0fdb9e711 100644 --- a/src/Magnum.h +++ b/src/Magnum.h @@ -120,6 +120,9 @@ typedef Math::Matrix4 Matrix4d; /** @brief %Complex number */ typedef Math::Complex Complex; +/** @brief %Dual complex number */ +typedef Math::DualComplex DualComplex; + /** @brief %Quaternion */ typedef Math::Quaternion Quaternion; diff --git a/src/Math/DualComplex.h b/src/Math/DualComplex.h index acb3154a0..b96bbce88 100644 --- a/src/Math/DualComplex.h +++ b/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. */