If you have a point (x,y) and want to rotate 90 degrees counterclockwise the point becomes
(x,y) becomes (-y,x)
4.5m questions
5.9m answers