Tachyon (current)  Current Main Branch
Functions
coordsys.h File Reference

Go to the source code of this file.

Functions

void xytopolar (flt, flt, flt, flt *, flt *)
 
void xyztocyl (vector, flt, flt *, flt *)
 
void xyztospr (vector, flt *, flt *)
 

Function Documentation

◆ xytopolar()

void xytopolar ( flt  ,
flt  ,
flt  ,
flt ,
flt  
)

Definition at line 20 of file coordsys.c.

References ACOS, and SQRT.

◆ xyztocyl()

void xyztocyl ( vector  ,
flt  ,
flt ,
flt  
)

Definition at line 30 of file coordsys.c.

References ACOS, and SQRT.

Referenced by cyl_checker_texture(), and image_cyl_texture().

◆ xyztospr()

void xyztospr ( vector  ,
flt ,
flt  
)

Definition at line 42 of file coordsys.c.

References ACOS, SIN, and SQRT.

Referenced by image_sphere_texture().