(scale x y z)
(scale vec3)
(translate x y z)
(translate vec3)
scale and translate perform non-uniform
scaling and translation along the x, y, and z axes. Each
has two forms: one which takes 3 reals and one
which takes a vec3 as input. In both cases, both
forms are equivalent.
(uscale s)
uscale performs a uniform scale along x, y and z by
an amount s.
(rotate angle axis)
rotate specifies a rotation of angle degrees about an arbitrary axis. axis is a vec3.
(transform m)
(concat-transform m)
transform replaces the transformation matrix in
the current graphics state with the 4x4 transformation
matrix stored in m. concat-transform pre-multiples
the transformation matrix in the current graphics
state by m.
(ctm)
Returns a mat4 corresponding to the transformation matrix in the current graphics state.
Last updated: 11/20/95 / Steve May ( smay@cgrg.ohio-state.edu ) Any comments or suggestions appreciated.