From 5bfdac108c45825f015470e1e7065792849a37c3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Sat, 31 Mar 2012 15:08:45 +0200 Subject: [PATCH] Added some TODOs. --- src/IndexedMesh.cpp | 1 + src/Math/Matrix.h | 1 + src/Math/Vector.h | 6 +++++- 3 files changed, 7 insertions(+), 1 deletion(-) diff --git a/src/IndexedMesh.cpp b/src/IndexedMesh.cpp index 240f547db..bcc3befcd 100644 --- a/src/IndexedMesh.cpp +++ b/src/IndexedMesh.cpp @@ -44,6 +44,7 @@ void IndexedMesh::draw() { /* Bind index array, draw the elements and unbind */ _indexBuffer.bind(); + /** @todo Start at given index */ glDrawElements(static_cast(primitive()), _indexCount, static_cast(_indexType), nullptr); /* Disable vertex arrays for all attributes */ diff --git a/src/Math/Matrix.h b/src/Math/Matrix.h index 55916127b..1a8acc2c8 100644 --- a/src/Math/Matrix.h +++ b/src/Math/Matrix.h @@ -27,6 +27,7 @@ namespace Magnum { namespace Math { * @brief %Matrix * * @todo @c PERFORMANCE - loop unrolling for Matrix and Matrix + * @todo first col, then row (cache adjacency) */ template class Matrix { public: diff --git a/src/Math/Vector.h b/src/Math/Vector.h index 2de8b96d6..1a700a6d6 100644 --- a/src/Math/Vector.h +++ b/src/Math/Vector.h @@ -26,7 +26,11 @@ namespace Magnum { namespace Math { -/** @brief %Vector */ +/** +@brief %Vector + +@todo Swizzling +*/ template class Vector { public: typedef T Type; /**< @brief %Vector data type */