answersLogoWhite

0


Best Answer

The rotation matrix for a 90° rotation is [[0,-1],[1,0]]

More simply, if our shape is a function of x and y, we swap x and y and then negate y.

For instance: if our function is y=x, then the 90° rotation would be x=-y

User Avatar

Wiki User

11y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is the formula for rotating a shape 90 degrees?
Write your answer...
Submit
Still have questions?
magnify glass
imp