Function js_sys::Math::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