Function piston_window::math::dot

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

Computes the dot product.