GrAPiC
Graphics for Algo/Prog in C/C++

◆ triangle()

void grapic::triangle ( int  x1,
int  y1,
int  x2,
int  y2,
int  x3,
int  y3 
)

Draw a triangle from the vertices (x1, y1), (x2, y2) and (x3, y3). (Code provided by Bastien DOIGNIES, many thanks)