Math.atan2
atan2 — Returns the arc-tangent of the quotient of x and y.
Description
Math.atan2(number x, number y)
Parameters
Name | Description | Type | Default | Optional |
---|---|---|---|---|
x | number | No | ||
y | number | No |
Examples
Example #1 – atan2 example
atan2 — Returns the arc-tangent of the quotient of x and y.
Math.atan2(number x, number y)
Name | Description | Type | Default | Optional |
---|---|---|---|---|
x | number | No | ||
y | number | No |