SPHCOLOR(3L) SPHCOLOR(3L)
sphcolor - set the diffuse r, g, b color components of bitmapped spheres.
#include <gl/sphere.h>
void sphcolor(clr)
float clr[4];
clr the specification of the diffuse color for bitmap spheres
sphcolor specifies the diffuse color for the bitmapped spheres drawn with
calls to sphdraw sphbgnbitmap and sphendbitmap.
sphcolor must only be called between sphbgnbitmap and sphendbitmap or the
results are undefined.
libsphere, sphmode, sphobj, sphdraw, sphgnpolys, sphfree, sphbgnbitmap,
sphendbitmap
sphcolor only affects bitmapped spheres which are currently only
implemented on the RealityEngine. The routine receives an array of four
floating-point elements. In the current implementation on the
RealityEngine, the first three elements specify r, g, and b,
respectively, and the fourth component is not used and should be set to
1.0.
PPPPaaaaggggeeee 1111 [ Back ]
|