Original Post
I have this view vector v, that I want to be able to rotate around position p. It can rotate on all three axes. I set the view vector like this:>
v.x = p.x+cos(angle);
v.y = 0;
v.z = p.z+sin(angle);
So now I want to be able to rotate this view vector, by adding the current angle with another angle. But how do I do this? The only way I can think of is converting the view vector back to degrees and then add the new angle, and then make the cos and sine calls on it, however I dont know how to convert them back
into degrees...
edit:> oh and I don't want an external variable storing the current angle...
In the next 80 years 6 billion people will die...
[edited by - pag on May 21, 2003 12:03:36 AM]