mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 02:15:43 -04:00
fix decompose trifan
This commit is contained in:
parent
7b8d304aec
commit
57b4a9452f
@ -141,7 +141,6 @@ decompose_impl() const {
|
|||||||
triangles->add_vertex(v0);
|
triangles->add_vertex(v0);
|
||||||
triangles->add_vertex(v1);
|
triangles->add_vertex(v1);
|
||||||
triangles->add_vertex(v2);
|
triangles->add_vertex(v2);
|
||||||
nassertr(vi < num_vertices, this);
|
|
||||||
v1 = v2;
|
v1 = v2;
|
||||||
triangles->close_primitive();
|
triangles->close_primitive();
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user