C and rotation of rectangle
I want to rotate rectangle in C. How do i start for this?
Re: C and rotation of rectangle
Define an origin and a point of rotation. Move each constituent of the rectangle through the appropriate angle using trigonometry. Plot the result.
|All times are GMT +5.5. The time now is 21:17.|