fix VEC3 loader

This commit is contained in:
MihailRis
2024-10-25 10:09:36 +03:00
parent 30725c80c7
commit 5c019c53f0
2 changed files with 5 additions and 0 deletions
+1
View File
@@ -103,6 +103,7 @@ static model::Mesh build_mesh(
if (normals) {
vertex.normal = normals[indices[i * attrsCount + normalsIndex]];
}
vertices.push_back(std::move(vertex));
}
return model::Mesh {texture, std::move(vertices)};
}