From 25190e32070a3f607a240f894316d374f0006839 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Wed, 21 Jun 2023 16:24:03 +0200 Subject: [PATCH] MeshTools: minor comment / TODO update in concatenate(). --- src/Magnum/MeshTools/Concatenate.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Magnum/MeshTools/Concatenate.cpp b/src/Magnum/MeshTools/Concatenate.cpp index 66bce5701..8c7df0338 100644 --- a/src/Magnum/MeshTools/Concatenate.cpp +++ b/src/Magnum/MeshTools/Concatenate.cpp @@ -75,8 +75,7 @@ Trade::MeshData concatenate(Containers::Array&& indexData, const UnsignedI attribute = Implementation::remapAttributeData(attribute, vertexCount, vertexData, vertexData); /* Only list primitives are supported currently */ - /** @todo delegate to `indexTriangleStrip()` (`duplicate*()`?) etc when - those are done */ + /** @todo delegate to generateIndices() for these */ CORRADE_ASSERT( meshes.front().primitive() != MeshPrimitive::LineStrip && meshes.front().primitive() != MeshPrimitive::LineLoop && @@ -102,7 +101,8 @@ Trade::MeshData concatenate(Containers::Array&& indexData, const UnsignedI for(UnsignedInt i = 0; i != out.attributeCount(); ++i) attributeMap.emplace(out.attributeName(i), Containers::pair(i, false)); - /* Go through all meshes and put all attributes and index arrays together. */ + /* Go through all meshes and put all attributes and index arrays + together */ std::size_t indexOffset = 0; std::size_t vertexOffset = 0; for(std::size_t i = 0; i != meshes.size(); ++i) {