Skip to content

cf_draw3d_polyline

Category: draw3d
GitHub: cute_draw3d.h


Draws connected anti-aliased line segments through a list of points.

void cf_draw3d_polyline(const CF_V3* points, int count, float thickness, bool loop);
Parameters Description
points Array of points.
count Number of points.
thickness The line's width in world units.
loop True to connect the last point back to the first.

Remarks

Segments join with round caps, which look correct at any join angle.

cf_draw3d_line
cf_draw3d_box_wire
cf_draw3d_push_color