Can't sleep...by (no login)
Birthday party upon my head ...
Want to rotate through Polar Coordinates :
We have 2 points, The Center (C1, C2), and M (x, y)
The goal : get angle, increment, convert back to Cartesian coordinate.
1) How to get the angle ? with cosinus.
Cosinus (A) = Adjacent/hypotenuse. (adjacent = X length)
R, distance from center need to be calculated once only.
With Arc cosinus we have the angle, then convert to degree or in any case, add 1 degree. Retrieve the new cosinus, then we have the new X coordinate with math equation above 1), and Sinus from this angle should give the Y coordinate.. that's it.
|Response Title||Author and Date|
|I'M NOT SURE THIS WILL HELP||OPRESION on Apr 24|
|Bingo !||Lisztfr on Apr 25|
|Round up function doesn't change anything ...||Lisztfr on Apr 25|
|Rotation Demo||Lisztfr on Apr 25|
|Why the rotation is wrong ?||on Apr 25|
|* Radians need Single ! variables : replace ANG% with ANG!||Lisztfr on Apr 25|