Address error that remained in last merge
This commit is contained in:
parent
9a0f9f12cd
commit
00529c71d4
@ -85,7 +85,7 @@ void GeometryDumper::AddTriangle(Vertex& v0, Vertex& v1, Vertex& v2) {
|
|||||||
vertices.push_back(v1);
|
vertices.push_back(v1);
|
||||||
vertices.push_back(v2);
|
vertices.push_back(v2);
|
||||||
|
|
||||||
size_t num_vertices = vertices.size();
|
int num_vertices = (int)vertices.size();
|
||||||
faces.push_back({ num_vertices-3, num_vertices-2, num_vertices-1 });
|
faces.push_back({ num_vertices-3, num_vertices-2, num_vertices-1 });
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user