- #1
danne89
- 180
- 0
Hi! I'm trying to implement a FPS-camera. I need to calculate a new vector from another one, rotated a.
This is of cource in 2D. Is this correct:
x' = x * ||v|| sin a / y
y' = - y ||v|| cos a / x
This is of cource in 2D. Is this correct:
x' = x * ||v|| sin a / y
y' = - y ||v|| cos a / x