Browse Source

Added some TODOs.

pull/279/head
Vladimír Vondruš 14 years ago
parent
commit
5bfdac108c
  1. 1
      src/IndexedMesh.cpp
  2. 1
      src/Math/Matrix.h
  3. 6
      src/Math/Vector.h

1
src/IndexedMesh.cpp

@ -44,6 +44,7 @@ void IndexedMesh::draw() {
/* Bind index array, draw the elements and unbind */ /* Bind index array, draw the elements and unbind */
_indexBuffer.bind(); _indexBuffer.bind();
/** @todo Start at given index */
glDrawElements(static_cast<GLenum>(primitive()), _indexCount, static_cast<GLenum>(_indexType), nullptr); glDrawElements(static_cast<GLenum>(primitive()), _indexCount, static_cast<GLenum>(_indexType), nullptr);
/* Disable vertex arrays for all attributes */ /* Disable vertex arrays for all attributes */

1
src/Math/Matrix.h

@ -27,6 +27,7 @@ namespace Magnum { namespace Math {
* @brief %Matrix * @brief %Matrix
* *
* @todo @c PERFORMANCE - loop unrolling for Matrix<T, 3> and Matrix<T, 4> * @todo @c PERFORMANCE - loop unrolling for Matrix<T, 3> and Matrix<T, 4>
* @todo first col, then row (cache adjacency)
*/ */
template<class T, size_t size> class Matrix { template<class T, size_t size> class Matrix {
public: public:

6
src/Math/Vector.h

@ -26,7 +26,11 @@
namespace Magnum { namespace Math { namespace Magnum { namespace Math {
/** @brief %Vector */ /**
@brief %Vector
@todo Swizzling
*/
template<class T, size_t size> class Vector { template<class T, size_t size> class Vector {
public: public:
typedef T Type; /**< @brief %Vector data type */ typedef T Type; /**< @brief %Vector data type */

Loading…
Cancel
Save