The effect of the rotation is the same as that of a 90 degree clockwise rotation.
In matrix notation, it is equivalent to [post-]multiplication by the 2x2 matrix:
{ 0 1 }
{-1 0 }
Chat with our AI personalities
(x; y) --> (x.cos45 + y.sin45; x.sin45 - y.cos45)
we swap the co-ordinates and give the new y co-ordinate the opposite sign.90 degrees clockwise(y, -x)
270 rule represent a 270 rotation to the left which is very easy
It is multiplication by the 2x2 matrix 0 1-1 0
Very simple. Do nothing!Very simple. Do nothing!Very simple. Do nothing!Very simple. Do nothing!