mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-05 02:51:49 +00:00
fix VEC3 loader
This commit is contained in:
parent
30725c80c7
commit
5c019c53f0
2 changed files with 5 additions and 0 deletions
|
|
@ -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)};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue