Address error that remained in last merge
This commit is contained in:
parent
9a0f9f12cd
commit
00529c71d4
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue