Hi experts,
I'm looking for some help with trigonometry, more specifically rotating 4 points around a centre point.
I have a rectangle, with centre point 0,0 and want to rotate this counter-clockwise a variable number of degrees. Say 45 degrees for example. The 4 points on the rectangle are 6,3 : -6,3 : -6,-3 : 6,3.
I know this involves sin and cos but I cannot figure out how to use these functions.
So, simply put - how do i work out the new coordinates for a rotation of 45 degrees for the above coordinates.
Any help would be appreciated.
Thanks in advance,
Eoin.
New_X = Old_X * Cos ( angle )