Skip to main content

angle_deg

Function angle_deg 

Source
pub fn angle_deg(p1: [f32; 2], v: [f32; 2], p2: [f32; 2]) -> f64
Expand description

Angle at vertex v between rays to p1 and p2, in degrees.

Returns 0.0 when either ray has near-zero length.