16 #define TACHYON_INTERNAL 1    23   *v=
SQRT(r1 / (rad*rad));
    33   r1=pnt.x*pnt.x + pnt.y*pnt.y;
    45   r1=
SQRT(pnt.x*pnt.x + pnt.y*pnt.y + pnt.z*pnt.z);
    50   theta=
ACOS((pnt.x/r1)/
SIN(phi))/TWOPI;
 void xytopolar(flt x, flt y, flt rad, flt *u, flt *v)
 
double flt
generic floating point number, using double 
 
Tachyon public API function prototypes and declarations used to drive the ray tracing engine...
 
void xyztocyl(vector pnt, flt height, flt *u, flt *v)
 
void xyztospr(vector pnt, flt *u, flt *v)