Skip to content

cf_draw3d_axes

Category: draw3d
GitHub: cute_draw3d.h


Draws x/y/z axis lines from the local origin, colored red/green/blue.

void cf_draw3d_axes(float length, float thickness);
Parameters Description
length Each axis line's length in world units.
thickness The stroke's width in world units.

Remarks

Respects the transform stack, so pushing an object's transform first draws that object's local frame -- the standard orientation gizmo.

cf_draw3d_arrow
cf_draw3d_line
cf_draw3d_push