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: December 13th, 2017 at 5:38 am