Dot

Trait Dot 

Source
pub trait Dot<Rhs = Self> {
    type Output;

    // Required method
    fn dot(self, rhs: Rhs) -> Self::Output;
}
Expand description

Perform the dot product of vectors

Required Associated Types§

Required Methods§

Source

fn dot(self, rhs: Rhs) -> Self::Output

Implementors§

Source§

impl<T> Dot for Vec3<T>
where T: Add<Output = T> + Mul<Output = T> + Copy,

Source§

impl<T> Dot<&Vec3<T>> for &Vec3<T>
where T: Add<Output = T> + Mul<Output = T> + Copy,

Source§

impl<T> Dot<&Vec3<T>> for Vec3<T>
where T: Add<Output = T> + Mul<Output = T> + Copy,

Source§

impl<T> Dot<Vec3<T>> for &Vec3<T>
where T: Add<Output = T> + Mul<Output = T> + Copy,