[][src]Trait ncollide_math::Vector

pub trait Vector: Copy + Send + Sync + 'static + Display + Lattice + Bounded + ApproxEq<Epsilon = Self::Real> + FiniteDimInnerSpace {
    fn sample_sphere<F: FnMut(Self)>(_: F);
}

Trait implemented by vector types usable by ncollide.

Required methods

fn sample_sphere<F: FnMut(Self)>(_: F)

Iterate through the samples.

Loading content...

Implementations on Foreign Types

impl<N> Vector for Vector2<N> where
    N: Real + Display,
    DefaultAllocator: Allocator<N, U2> + Allocator<usize, U2>,
    Owned<N, U2>: Copy + Sync + Send + 'static, 
[src]

impl<N> Vector for Vector3<N> where
    N: Real + Display,
    DefaultAllocator: Allocator<N, U3> + Allocator<usize, U3>,
    Owned<N, U3>: Copy + Sync + Send + 'static, 
[src]

Loading content...

Implementors

Loading content...