rotate VEX function

applies a rotation to the given matrix.

Contexts: image3d, chop, cop, pop, sop, surface, displace, fog, light, shadow, photon, cvex

  1. void rotate(matrix &, float amount, vector axis)

  2. 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.