Function piston_window::math::square_len

source ยท
pub fn square_len<T>(a: [T; 2]) -> T
where T: Copy + Add<Output = T> + Mul<Output = T>,
Expand description

Computes the square length of a vector.