cf_draw3d_arc¶
Category: draw3d
GitHub: cute_draw3d.h
Draws an anti-aliased arc (a partial circle outline) with round ends.
void cf_draw3d_arc(CF_V3 center, CF_V3 normal, float radius, float angle0, float sweep, float thickness);
| Parameters | Description |
|---|---|
center |
The arc's center. |
normal |
The plane's normal (need not be normalized). |
radius |
The arc's radius. |
angle0 |
Starting angle in radians, measured in the arc's plane. |
sweep |
Radians swept counter-clockwise from angle0. CF_TAU or more draws a full circle. |
thickness |
The stroke's width in world units. |