cf_draw_quad2¶
Category: draw
GitHub: cute_draw.h
Draws a quad wireframe.
| Parameters | Description |
|---|---|
p0 |
A corner of the quad. |
p1 |
A corner of the quad. |
p2 |
A corner of the quad. |
p3 |
A corner of the quad. |
thickness |
The thickness of each line to draw. |
rounding |
Corner radius in world units. The shape keeps its extent, clamped to what it can hold. |
Remarks¶
All points p0 through p3 are encouraged to be in counter-clockwise order.