SPHRMA(3L)SPHRMA(3L)NAMEsphrma - 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
DESCRIPTIONsphrma 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
NOTEsphrma 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.
Page 1