@ -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
@ -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...);