Skip to content

cf_draw_tri_fill

Category: draw
GitHub: cute_draw.h


Draws a triangle.

void cf_draw_tri_fill(CF_V2 p0, CF_V2 p1, CF_V2 p2, float chubbiness);
Parameters Description
p0 A corner of the triangle.
p1 A corner of the triangle.
p2 A corner of the triangle.
chubbiness Inflates the shape, similar to corner-rounding. Makes the shape chubbier.

cf_draw_tri