rotate expression function

Returns a 4×4 rotation matrix from an axis and angle.

Replaced by: hou.hmath

See also: rotaxis, scale, translate

Usage

rotate(angle, axis)

angle is in degrees.

axis is one of "x", "y", or "z".