From e147cc3992df112c27279d42f5609c85d4f915f4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Thu, 25 Apr 2013 23:43:06 +0200 Subject: [PATCH] Doc++, TODO++ --- src/Math/Complex.h | 3 ++- src/Math/Quaternion.h | 3 ++- src/SceneGraph/AbstractFeature.h | 1 + 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/src/Math/Complex.h b/src/Math/Complex.h index 288279def..8b102ea4b 100644 --- a/src/Math/Complex.h +++ b/src/Math/Complex.h @@ -38,7 +38,8 @@ namespace Magnum { namespace Math { namespace Implementation { - /* No assertions fired, for internal use */ + /* No assertions fired, for internal use. Not private member because used + from outside the class. */ template inline static Complex complexFromMatrix(const Matrix<2, T>& matrix) { return {matrix[0][0], matrix[0][1]}; } diff --git a/src/Math/Quaternion.h b/src/Math/Quaternion.h index f7d6465b1..3cd832fbf 100644 --- a/src/Math/Quaternion.h +++ b/src/Math/Quaternion.h @@ -40,7 +40,8 @@ namespace Magnum { namespace Math { namespace Implementation { -/* No assertions fired, for internal use */ +/* No assertions fired, for internal use. Not private member because used from + outside the class. */ template inline Quaternion quaternionFromMatrix(const Matrix<3, T>& m) { const Vector<3, T> diagonal = m.diagonal(); const T trace = diagonal.sum(); diff --git a/src/SceneGraph/AbstractFeature.h b/src/SceneGraph/AbstractFeature.h index 3205f0f50..3c27c6caf 100644 --- a/src/SceneGraph/AbstractFeature.h +++ b/src/SceneGraph/AbstractFeature.h @@ -190,6 +190,7 @@ template class AbstractFeature * @todo Provide also simpler representations from which could benefit * other transformation implementations, as they won't need to * e.g. create transformation matrix from quaternion? + * @todo Move outside templated class so it's easier to type */ #ifndef DOXYGEN_GENERATING_OUTPUT typedef Implementation::FeatureCachedTransformation CachedTransformation;