Hi! I'm trying to implement a FPS-camera. I need to calculate a new vector from another one, rotated a.(adsbygoogle = window.adsbygoogle || []).push({});

This is of cource in 2D. Is this correct:

x' = x * ||v|| sin a / y

y' = - y ||v|| cos a / x

**Physics Forums | Science Articles, Homework Help, Discussion**

Dismiss Notice

Join Physics Forums Today!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# Vector rotation

**Physics Forums | Science Articles, Homework Help, Discussion**