I am attempting to calculate the position of a point after it has been rotated
I have been using an algorithm but I am getting incorrect values which makes me think I am using the incorrect algorithm or incorrect values.
What algorithm and values should I use to find the position of the green dot?
My calculation is here:
x = -6
y = 349
0 = -25
x' = x*cos(0) - y*sin(0)
y' = x*sin(0) + y*cos(0)
x' = (-5.44) - (-147.49)
y' = (2.54) + (316.30)
x' = 142.05
y' = 318.84
// Isn't that really wrong shdn't it be around 0,349 for the answer?