[−][src]Trait building_blocks::prelude::DotProduct
Associated Types
Loading content...Required methods
Loading content...Implementors
impl<T> DotProduct for PointN<[T; 2]> where
T: Add<T, Output = T> + Mul<T, Output = T> + Copy,
[src]
T: Add<T, Output = T> + Mul<T, Output = T> + Copy,
type Scalar = T
pub fn dot(
&self,
other: &PointN<[T; 2]>
) -> <PointN<[T; 2]> as DotProduct>::Scalar
[src]
&self,
other: &PointN<[T; 2]>
) -> <PointN<[T; 2]> as DotProduct>::Scalar
impl<T> DotProduct for PointN<[T; 3]> where
T: Add<T, Output = T> + Mul<T, Output = T> + Copy,
[src]
T: Add<T, Output = T> + Mul<T, Output = T> + Copy,