cf_draw3d_line¶
Category: draw3d
GitHub: cute_draw3d.h
Draws an anti-aliased 3d line segment with round caps.
| Parameters | Description |
|---|---|
p0 |
The first endpoint. |
p1 |
The second endpoint. |
thickness |
The line's width in world units. |
Remarks¶
Thickness is measured in world units, so lines get thinner with distance under a perspective camera; lines thinner than a pixel fade out gracefully rather than aliasing. Endpoints respect the transform stack (cf_draw3d_push).
Related Pages¶
cf_draw3d_line2
cf_draw3d_polyline
cf_draw3d_arrow
cf_draw3d_push_color
cf_draw3d_box_wire