Trait rust_3d::traits::IsNormalized3D [] [src]

pub trait IsNormalized3D: Sized + Is3D {
    fn new<P>(p: P) -> Result<Self>
    where
        P: Is3D
;
fn norm_x() -> Self;
fn norm_y() -> Self;
fn norm_z() -> Self; }

IsNormalized3D is a trait used for types which are positioned within the 3D space and normalized

Required Methods

Should return a new normalized object which only points in the x-Direction

Should return a new normalized object which only points in the y-Direction

Should return a new normalized object which only points in the z-Direction

Implementors