IRenderer.triangle

Drawing a triangle by its three vertices.

interface IRenderer
@safe @safe
void
triangle
(,
Color!ubyte color
,
bool isFill
)

Parameters

points Vecf[3]

Triangle vertices

color Color!ubyte

Triangle color.

isFill bool

Whether it is necessary to fill the triangle with color.

Meta