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