Browse Source

MeshTools: added TODOs.

pull/34/head
Vladimír Vondruš 13 years ago
parent
commit
1d789ef55e
  1. 2
      src/MeshTools/CombineIndexedArrays.h
  2. 1
      src/MeshTools/Interleave.h

2
src/MeshTools/CombineIndexedArrays.h

@ -128,6 +128,8 @@ std::vector<UnsignedInt> indices = MeshTools::combineIndexedArrays(
attributes indexed with `indices`.
@attention The function expects that all arrays have the same size.
@todo Use `std::pair` (to avoid `std::make_tuple`), make this usable also at
runtime
*/
/* Implementation note: It's done using tuples because it is more clear which
parameter is index array and which is attribute array, mainly when both are

1
src/MeshTools/Interleave.h

@ -201,6 +201,7 @@ mesh.setVertexCount(attribute.size());
@endcode
@see @ref MeshTools::compressIndices()
@todo rework so Mesh & Buffer doesn't need to be included in header
*/
template<class ...T> inline void interleave(Mesh& mesh, Buffer& buffer, BufferUsage usage, const T&... attributes) {
return Implementation::Interleave()(mesh, buffer, usage, attributes...);

Loading…
Cancel
Save