A 2D coordinate can be easily rotated by around another point to give the new rotated point with the equation:
The angle is positive for a counter-clockwise rotation. You may notice that the coordinate is translated as if was the origin, the rotation transformation is applied, and then it is translated back into position.
Posted: November 13th, 2014 at 6:32 pm
Last Updated on: October 31st, 2017 at 5:37 am