Function graphics::math::dot

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

Computes the dot product.