I am rotating an image around it center point but need to track a location on the image as it rotates.
Given:
- Origin at 0,0
- Image width and height of 100, 100
- Rotation point at C(50,50)
- Angle of "a" (say 90 degrees in this example)
- Point P starts at (25,25) and after the rotation it is at Pnew(75,25)
I haven't touched trig in 20 years but guessing the formula is simple...