mirror of
https://github.com/luanti-org/luanti.git
synced 2025-07-02 16:38:41 +00:00
Update mapblock_mesh.cpp
Let's try this again...
This commit is contained in:
parent
c236c1f1f1
commit
812506c0b4
1 changed files with 1 additions and 1 deletions
|
@ -760,7 +760,7 @@ MapBlockMesh::MapBlockMesh(Client *client, MeshMakeData *data, v3s16 camera_offs
|
|||
std::vector<video::S3DVertexTangents> vertices;
|
||||
vertices.reserve(p.vertices.size());
|
||||
for (video::S3DVertex &v : p.vertices)
|
||||
vertices.emplace_back(video::S3DVertexTangents(v.Pos, v.Normal, v.Color, v.TCoords));
|
||||
vertices.emplace_back(v.Pos, v.Normal, v.Color, v.TCoords);
|
||||
buf->append(&vertices[0], vertices.size(),
|
||||
&p.indices[0], p.indices.size());
|
||||
buf->recalculateBoundingBox();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue