#17689 - Lupin - Fri Mar 12, 2004 5:33 pm
I am currently working on a voxel renderer and i have a mathematical problem. My airplane is right in front of my view, so if i rotate my plane i don't want to rotate around the cameras position but around the actual plane! What i am doing now is just rotating around my camera position.
How can i rotate my camera position around my plane? The problem i got is that i also have a angle of the camera that got to be changed too (but i think i just got to subtract the amount of rotation for it).
Well, i hope you understood my question :)
A explanation on how to rotate a point around another point in 2D space would help a lot too!
How can i rotate my camera position around my plane? The problem i got is that i also have a angle of the camera that got to be changed too (but i think i just got to subtract the amount of rotation for it).
Well, i hope you understood my question :)
A explanation on how to rotate a point around another point in 2D space would help a lot too!