Trait rust_3d::traits::IsNormalized3D
[−]
[src]
pub trait IsNormalized3D: Is3D { fn new<P>(p: P) -> Result<Box<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
fn new<P>(p: P) -> Result<Box<Self>> where
P: Is3D,
P: Is3D,
fn norm_x() -> Self
Should return a new normalized object which only points in the x-Direction
fn norm_y() -> Self
Should return a new normalized object which only points in the y-Direction
fn norm_z() -> Self
Should return a new normalized object which only points in the z-Direction
Implementors
impl IsNormalized3D for Norm3D