Browse Source

MeshTools: doc++

pull/542/merge
Vladimír Vondruš 4 years ago
parent
commit
efa206b9f4
  1. 3
      src/Magnum/MeshTools/Interleave.cpp

3
src/Magnum/MeshTools/Interleave.cpp

@ -278,7 +278,8 @@ Trade::MeshData interleave(Trade::MeshData&& data, const Containers::ArrayView<c
/* Otherwise do it the hard way */ /* Otherwise do it the hard way */
} else { } else {
/* Calculate the layout */ /* Calculate the layout. Can't std::move() the data in to avoid copying
the attribute array as we need the original attributes below. */
Trade::MeshData layout = interleavedLayout(data, vertexCount, extra); Trade::MeshData layout = interleavedLayout(data, vertexCount, extra);
/* Copy existing attributes to new locations */ /* Copy existing attributes to new locations */

Loading…
Cancel
Save