#include <ddgtorus.h>
Class diagram for ddgTorus:
Public Members | |||
ddgTorus (float r, float R, float rings, float nsides, ddgColor3 * c) | |||
Constructor. | |||
bool | draw (ddgContext *c) | ||
Render the torus. | |||
bool | init (ddgContext *c) | ||
Create a torus. | |||
void | color ( ddgColor3 *c ) | ||
Set color of the torus. | |||
void | rings ( float r) | ||
void | nsides (float n) | ||
void | outer (float R) | ||
void | inner (float r) |