sphcolor(3L)
sphcolor - set the diffuse r, g, b color components of bitmapped spheres.
As shipped in IRIX 6.5. First release of IRIX 6.5.
NAME sphcolor - set the diffuse r, g, b color components of bitmapped spheres. C SPECIFICATION #include <gl/sphere.h> void sphcolor(clr) float clr[4]; PARAMETERS clr the specification of the diffuse color for bitmap spheres DESCRIPTION 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. SEE ALSO libsphere, sphmode, sphobj, sphdraw, sphgnpolys, sphfree, sphbgnbitmap, sphendbitmap NOTE 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.