contour polygons not triangles

This commit is contained in:
Irlan 2018-05-13 16:12:14 -03:00
parent 15b8ea3f42
commit b89faee90d

View File

@ -1517,7 +1517,7 @@ void qhHull::Draw() const
const qhHalfEdge* next = edge->next; const qhHalfEdge* next = edge->next;
qhVertex* v3 = next->tail; qhVertex* v3 = next->tail;
b3Draw_draw->DrawTriangle(v1->position, v2->position, v3->position, b3Color(0.0f, 0.0f, 0.0f, 1.0f)); b3Draw_draw->DrawSegment(v2->position, v3->position, b3Color(0.0f, 0.0f, 0.0f, 1.0f));
b3Draw_draw->DrawSolidTriangle(n, v1->position, v2->position, v3->position, b3Color(1.0f, 1.0f, 1.0f, 0.5f)); b3Draw_draw->DrawSolidTriangle(n, v1->position, v2->position, v3->position, b3Color(1.0f, 1.0f, 1.0f, 0.5f));
edge = next; edge = next;