Y0=a + (y - b) * cos (beta) + (x - a) * sin (beta);
This is a point at any point around the rotation formula, I tested to be correct, but now the problem is on the world coordinate work abnormal,
So I want to ask you,
The Windows on the upper left corner is 0, 0 he is working in the fourth quadrant in the fourth quadrant is normal
But not in the first quadrant, such as the game is the first world map coordinates, in the first quadrant,
I have several days, because this thing has been make uncertain, mathematics is the elementary school graduation, so please help the
Want to achieve is like Lol in rectangular skills to preview the effect, the rectangle around the person to
CodePudding user response:
The