NAME

make_icosahedron - make icosahedron render object

PROTOTYPE

unitptr make_icosahedron( float fRx, float fRy, float fRz, int iDepth, unitptr host)

ARGUMENTS

float fRx
radius along x-axis
float fRy
radius along y axis
float fRz
radius along z-axis
int iDepth
recursion depth for tesselation. Negative values interpolate surface normal, positive values yield planar faces.
unitptr host
host unit

DESCRIPTION:

For iDepth=0, renders an icosahedron. If abs(iDepth)>0, faces are recursively split into triangles (4 per face and recursion step).

FILE

/local/homes/rhaschke/nst7/man/../o.linx86//../foldersrc/nst_solid.c