Skip to content

cf_draw_box

Category: draw
GitHub: cute_draw.h


Draws a quad wireframe.

void cf_draw_box(CF_Aabb bb, float thickness, float rounding) { cf_draw_quad(bb, thickness, rounding); }
Parameters Description
bb The AABB (Axis-Aligned Bounding Box) to draw a quad over.
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

This is an alias for cf_draw_quad

cf_draw_quad
cf_draw_quad2
cf_draw_quad_fill
cf_draw_quad_fill2