Skip to main content

diagonal

Function diagonal 

Source
pub fn diagonal<const N: usize>(lo: [f64; N], hi: [f64; N]) -> f64
Expand description

The length of the diagonal of the box from lo to hi: how far apart any two points in it can be.