Trait coord::math::VecFloat[][src]

pub trait VecFloat<'a>: Vector<'a> where
    Self::Item: VecItem<'a> + Float
{ fn length(&self) -> Self::Item;
fn normalize(&self) -> Self; }

A trait for vectors containing floating point numerical types

Required Methods

Calculates the magnitude of the vector

Implementors