Hi, I have the coordinates of a polygon
for example:
P(0).X=0 P(0).Y=1
P(1).X=1 P(1).Y=0
P(2).X=1 P(2).Y=-1
P(3).X=-1 P(3).Y=-1
P(4).X=-1 P(4).Y=0

I need to get the coordinates of the shape after a turn of x degrees around the point in 0, 0?
Do I have to convert each point to a vector (like P(0) 0 degrees, 1 unit) and than add the the angle x, and after that calculate the coordinates from this vector?
Isn't there an easier way?