[−][src]Trait micromath::vector::VectorExt
Vector geometry extensions usable on vectors whose components can be
converted into f32
.
Required methods
fn distance(self, other: Self) -> f32
Compute the distance between two vectors
fn magnitude(self) -> f32
Compute the magnitude of a vector
Implementors
impl<V, A, C> VectorExt for V where
V: Vector<Axes = A, Component = C> + MulAssign<f32>,
A: ArrayLength<C>,
C: Component + Into<f32>,
[src]
V: Vector<Axes = A, Component = C> + MulAssign<f32>,
A: ArrayLength<C>,
C: Component + Into<f32>,