js_sys::Math

Function atan2

Source
pub fn atan2(y: f64, x: f64) -> f64
Expand description

The Math.atan2() function returns the arctangent of the quotient of its arguments.

MDN documentation