rotate
VEX function
applies a rotation to the given matrix.
Contexts: image3d, chop, cop, pop, sop, surface, displace, fog, light, shadow, photon, cvex
-
void rotate(matrix &, float amount, vector axis) -
void rotate(matrix3 &, float amount, vector axis)
applies a rotation to the given matrix. The angle must be given in radians and the axis must be normalized.