SPHGNPOLYS(3L) SPHGNPOLYS(3L)
NAME
sphgnpolys - return the number of polygons for the current set of sphere
attributes.
C SPECIFICATION
#include <gl/sphere.h>
int sphgnpolys()
PARAMETERS
none
FUNCTION RETURN VALUE
The return value is the number of polygons in current sphere.
DESCRIPTION
sphgnpolys returns the number of polygons: triangles, quads, meshed-tris,
or stripped-quads, in the current sphere for the set of sphere attributes
currently selected by calls to sphmode. If the current primitive is not
SPHPOLY or SPHMESH, then the number returned is that which corresponds
to the primitve SPHPOLY.
SEE ALSO
libsphere, sphdraw, sphfree, sphmode, sphobj, sphrotmatrix
Page 1