sphdra(3L)

sphdra - draw a sphere

As shipped in IRIX 6.5.22. Unchanged since IRIX 6.5.

NAME
     sphdra - draw a sphere

FORTRAN 77 SPECIFICATION
     #include <gl/fsphere.h>

     integer*4 function sphdra(params)
     real params(4)

PARAMETERS
     params a 4-element array of reals containing the size and location of a
            sphere. The first 3 elements are the x, y and z coordinates of the
            sphere center, followed by the sphere radius.

FUNCTION RETURN VALUE
     This function returns -1 if an error occurs, otherwise 0.

DESCRIPTION
     sphdra draws a single sphere of specified radius with center at the
     specified location according to the sphere attributes set by sphmod. The
     sphere is rendered as polygons with a normal at each vertex, and thus
     will be lighted if lighting is enabled.

SEE ALSO
     libsphere, sphfre, sphgnp, sphmod, sphobj, sphrma