[−][src]Trait rust_3d::traits::IsNormalized3D
IsNormalized3D is a trait used for types which are positioned within the 3D space and normalized
Required methods
fn new<P>(p: P) -> Result<Self> where
P: Is3D,
P: Is3D,
Should construct a new object and only fail if it can't be normalized
Provided methods
fn norm_x() -> Self
Returns a new normalized object which only points in the x-Direction
fn norm_y() -> Self
Returns a new normalized object which only points in the y-Direction
fn norm_z() -> Self
Returns a new normalized object which only points in the z-Direction