cf_draw3d_torus¶
Category: draw3d
GitHub: cute_draw3d.h
Draws a solid torus lit by a simple built-in hemisphere light.
| Parameters | Description |
|---|---|
center |
The torus's center. |
normal |
The normal of the torus's plane (need not be normalized). |
radius |
The major radius, from the center to the middle of the tube. |
tube_radius |
The tube's radius. |
Related Pages¶
cf_draw3d_cube
cf_draw3d_sphere
cf_draw3d_cone
cf_draw3d_circle
cf_draw3d_push_color