Calculates the angle (in radians) from a specified point to the coordinate origin as measured from the positive x-axis. Values are returned as a float in the range from PI to -PI . The atan2() function is most often used for orienting geometry to the position of the cursor
(float y, float x)
| 4437 | * @see PApplet#tan(float) |
| 4438 | */ |
| 4439 | static public final float atan2(float y, float x) { |
| 4440 | return (float)Math.atan2(y, x); |
| 4441 | } |
| 4442 | |
| 4443 | /** |
| 4444 | * |
no outgoing calls
no test coverage detected