Filled triangles - Computer Graphics from scratch - Gabriel Gambetta
Filled triangles We can use the DrawLine method to draw the outline of a triangle. This kind of outline is called wireframe, because it looks like a triangle made of wires: DrawWireframeTriangle (P0, P1, P2, color) { DrawLine(P0, P1, color); DrawLine(P1, P
www.gabrielgambetta.com