pub fn atan2(y: f64, x: f64) -> f64 ⓘ
dep_js_sys
The Math.atan2() function returns the arctangent of the quotient of its arguments.
Math.atan2()
MDN documentation