Generate a rotation matrix for rotating objects later.
rot(a)
a
radians of rotation.
Matrix
This function was first written by Paul van Dam-Bates for the package BASMasterSample.