Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ sphdraw(3L) — IRIX 6.5.3f

Media Vault

Software Library

Restoration Projects

Artifacts Sought



SPHDRAW(3L)                                                        SPHDRAW(3L)



NAME
     sphdraw - draw a sphere

C SPECIFICATION
     #include <gl/sphere.h>

     int sphdraw(params)
     float params[4];

PARAMETERS
     params a 4-element array of floats 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
     sphdraw draws a single sphere of specified radius with center at the
     specified location according to the sphere attributes set by sphmode. The
     sphere is rendered as polygons with a normal at each vertex, and thus
     will be lighted if lighting is enabled.

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






























                                                                        Page 1



Typewritten Software • bear@typewritten.org • Edmonds, WA 98026