Browse Source

Added some TODOs.

vectorfields
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 */
_indexBuffer.bind();
/** @todo Start at given index */
glDrawElements(static_cast<GLenum>(primitive()), _indexCount, static_cast<GLenum>(_indexType), nullptr);
/* Disable vertex arrays for all attributes */

1
src/Math/Matrix.h

@ -27,6 +27,7 @@ namespace Magnum { namespace Math {
* @brief %Matrix
*
* @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 {
public:

6
src/Math/Vector.h

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

Loading…
Cancel
Save