c++ Programming Glossary: ynew
Rotating a point about another point (2D) http://stackoverflow.com/questions/2259476/rotating-a-point-about-another-point-2d p.x cx p.y cy rotate point float xnew p.x c p.y s float ynew p.x s p.y c translate point back p.x xnew cx p.y ynew cy If.. ynew p.x s p.y c translate point back p.x xnew cx p.y ynew cy If the rotation is exactly the wrong side around I've messed.. rotation. In this case it is float xnew p.x c p.y s float ynew p.x s p.y c I hope one day I'll remember which way is the correct..
Proper Trigonometry For Rotating A Point Around The Origin http://stackoverflow.com/questions/3162643/proper-trigonometry-for-rotating-a-point-around-the-origin cy Which One Is Correct This float xnew p.x c p.y s float ynew p.x s p.y c Or This float xnew p.x c p.y s float ynew p.x s.. ynew p.x s p.y c Or This float xnew p.x c p.y s float ynew p.x s p.y c translate point back p.x xnew cx p.y ynew cy c#.. ynew p.x s p.y c translate point back p.x xnew cx p.y ynew cy c# c geometry trigonometry share improve this question..
|