cf_draw_tri_fill¶
Category: draw
GitHub: cute_draw.h
Draws a triangle.
| Parameters | Description |
|---|---|
p0 |
A corner of the triangle. |
p1 |
A corner of the triangle. |
p2 |
A corner of the triangle. |
rounding |
Corner radius in world units. The shape keeps its extent, clamped to what it can hold. |
Remarks¶
Rounding is clamped to the inscribed circle's radius, where the triangle becomes that circle.