diff --git a/src/MeshTools/CombineIndexedArrays.h b/src/MeshTools/CombineIndexedArrays.h index 967840fde..04fdce252 100644 --- a/src/MeshTools/CombineIndexedArrays.h +++ b/src/MeshTools/CombineIndexedArrays.h @@ -113,8 +113,8 @@ std::vector textureCoordinates; std::vector indices = MeshTools::combineIndexedArrays( std::make_tuple(std::cref(vertexIndices), std::ref(vertices)), - std::make_tuple(std::cref(normaTextureIndices), std::ref(normals)), - std::make_tuple(std::cref(normaTextureIndices), std::ref(textureCoordinates)) + std::make_tuple(std::cref(normalTextureIndices), std::ref(normals)), + std::make_tuple(std::cref(normalTextureIndices), std::ref(textureCoordinates)) ); @endcode `vertices`, `normals` and `textureCoordinates` will then contain combined