nw::demo::GraphicsDrawing::FillTriangle Member Function

Syntax

void FillTriangle(
     const math::VEC2 & pt1,
     const math::VEC2 & pt2,
     const math::VEC2 & pt3,
     ut::Color8 color
);

Arguments

Name Description
in pt1 Vertex 1.
in pt2 Vertex 2.
in pt3 Vertex 3.
in color The color.

Return Values

None.

Description

Draws a triangle.


CONFIDENTIAL