SPHGNPOLYS(3L) SPHGNPOLYS(3L)
sphgnpolys - return the number of polygons for the current set of sphere
attributes.
#include <gl/sphere.h>
int sphgnpolys()
none
FUNCTION RETURN VALUE
The return value is the number of polygons in current sphere.
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
SPH_POLY or SPH_MESH, then the number returned is that which corresponds
to the primitve SPH_POLY.
libsphere, sphdraw, sphfree, sphmode, sphobj, sphrotmatrix
PPPPaaaaggggeeee 1111 [ Back ]
|