UV Rotation

From C4 Engine Wiki

Jump to: navigation, search

Image:UV-Rotation.jpg


Considering

  • R (Rx, Ry) the Rotation center
  • a the Rotation angle (should be controlled by a script)
  • u and v your current UVs
  • u' and v' the transformed UVS