Trait hagane_simd::vector::Geometry [] [src]

pub trait Geometry: Float {
    fn project(self, onto: Self) -> Self { ... }
    fn length(self) -> Self::Scalar { ... }
    fn length_squared(self) -> Self::Scalar { ... }
    fn norm_one(self) -> Self::Scalar { ... }
    fn norm_inf(self) -> Self::Scalar { ... }
    fn distance(self, to: Self) -> Self::Scalar { ... }
    fn distance_squared(self, to: Self) -> Self::Scalar { ... }
    fn normalize(self) -> Self { ... }
    fn reflect(self, n: Self) -> Self { ... }
    fn refract(self, n: Self, eta: Self::Scalar) -> Self { ... }
}

Provided Methods

Implementors