rotate - concatenate rotation transformation
v.rotate(fAngle, vAxis);
fAngle - rotation angle in radians
-
Concatenates rotation specified by angle, origin and rotation axis to the matrix. The rotation angle is defined in radians. If no origin is specified, [0, 0, 0] is assumed.
// rotate about the 'y' axis