sphrma(3L)
sphrma - orient spheres
As shipped in IRIX 6.5.19. Unchanged since IRIX 6.5.
NAME sphrma - orient spheres FORTRAN 77 SPECIFICATION #include <gl/fsphere.h> subroutine sphrma(mat) real mat(4,4) PARAMETERS mat the rotation matrix to specify the orientation of the sphere DESCRIPTION sphrma specifies the rotation matrix sphdra uses for displaying spheres with a fixed orientation when the sphere attribute, SPHORI, is TRUE. The orientation of the sphere is applied by the Sphere Library before any scaling for radius or translation to the location sent to sphdra. The matrix provided must be a pure rotation matrix or the results will be unpredictable. When SPHORI is TRUE, the Sphere Library assumes uniform scaling; the effects of nonuniform scaling are undefined. SEE ALSO libsphere, sphmod, sphobj, sphdra, sphgnp, sphfre NOTE sphrma can be used to reduce lighting effects when rotating objects that contain spheres. It can also be used on a VGX, in combination with the accumulation buffer, to antialias spheres. For performance, when SPHORI is TRUE, use the SPHHEM attribute to draw only the front-facing half of the sphere.