Main Page   Class Hierarchy   Compound List   Header Files   Compound Members  

ddgTorus Class Reference

A torus object for rendering. More...

#include <ddgtorus.h>

Class diagram for ddgTorus:

ddgNode

List of all members.


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)

Detailed Description

A torus object for rendering.


The documentation for this class was generated from the following file:
Generated at Sun Sep 17 19:27:57 2000 for Digital Dawn Graphics Toolkit by doxygen 0.49-991205 written by Dimitri van Heesch, © 1997-1999