jbrave
16 years agoChannel Surfer
Drawing to Rotating Coordinates...
If I am drawing to the center of the screen, say 640/360 and I rotate the coordinate system by 1 degree, it appears that the axis of rotation is 0,0. Does anyone know what mathematical calculation would allow me to keep an object in the center of the screen while rotating the coordinate system? clearly x and y have to change in order for the object to stay in its exact location, since the location of 640,360 has now changed... but what might the formula be? I'm pretty sure it would be some trigonometry, but not sure what.
any suggestions?
any suggestions?