cf_draw3d_cube¶
Category: draw3d
GitHub: cute_draw3d.h
Draws a solid box lit by a simple built-in hemisphere light.
| Parameters | Description |
|---|---|
center |
The box's center. |
half_extents |
Half the box's size along each axis. |
Remarks¶
Colored by cf_draw3d_push_color and drawn under the current render state (depth testing on by default). Push a rotation onto the transform stack for an oriented box.
Related Pages¶
cf_draw3d_sphere
cf_draw3d_cone
cf_draw3d_torus
cf_draw3d_box_wire
cf_draw3d_push_color