sphobj(3L)

sphobj - create a GL object containing a sphere

As shipped in IRIX 6.5.22. Unchanged since IRIX 6.5.

NAME
     sphobj - create a GL object containing a sphere

C SPECIFICATION
     #include <gl/sphere.h>

     void sphobj(objid)
     Object objid;

PARAMETERS
     objid  the integer object identifier of the requested sphere

FUNCTION RETURN VALUE
     none

DESCRIPTION
     sphobj creates a GL object with the requested object identifier,
     containing a sphere specified by the current sphere attributes set by
     sphmode.  The sphere has a radius of one, and is centered about the
     origin.  It is positioned and scaled by the ModelView matrix at the time
     that it is drawn.

SEE ALSO
     libsphere, sphfree, sphgnpolys, sphmode, sphrotmatrix, sphdraw