Original Post
Hi guys. Is there a simple way to rotate a rectangle and keep track of the coordinates of each of the corners? Say for example we had a rectangle whoes corners were (0,0) (0,10) (5,10) (5,0). And if we were to rotate the rectangle by 45degrees clockwise. Is there a simple way to use that data to generate the new coordinates of the corners? I'm working on a device with no fixed point or floating point support, but I can work around that if I got some general idea of how to approach the problem. Thannks -Woody