Struct ncollide3d::query::RayInterferencesCollector [−][src]
pub struct RayInterferencesCollector<'a, N: 'a + Real, B: 'a> { /* fields omitted */ }
Bounding Volume Tree visitor collecting interferences with a given ray.
Methods
impl<'a, N: Real, B> RayInterferencesCollector<'a, N, B>
[src]
impl<'a, N: Real, B> RayInterferencesCollector<'a, N, B>
pub fn new(
ray: &'a Ray<N>,
buffer: &'a mut Vec<B>
) -> RayInterferencesCollector<'a, N, B>
[src]
pub fn new(
ray: &'a Ray<N>,
buffer: &'a mut Vec<B>
) -> RayInterferencesCollector<'a, N, B>
Creates a new RayInterferencesCollector
.
Trait Implementations
impl<'a, N, B, BV> BVTVisitor<B, BV> for RayInterferencesCollector<'a, N, B> where
N: Real,
B: Clone,
BV: RayCast<N>,
[src]
impl<'a, N, B, BV> BVTVisitor<B, BV> for RayInterferencesCollector<'a, N, B> where
N: Real,
B: Clone,
BV: RayCast<N>,
fn visit_internal(&mut self, bv: &BV) -> bool
[src]
fn visit_internal(&mut self, bv: &BV) -> bool
Visits an internal node. Returns true
if the internal node children have to be visited too. Read more
fn visit_leaf(&mut self, b: &B, bv: &BV)
[src]
fn visit_leaf(&mut self, b: &B, bv: &BV)
Visits a leaf.
Auto Trait Implementations
impl<'a, N, B> Send for RayInterferencesCollector<'a, N, B> where
B: Send,
impl<'a, N, B> Send for RayInterferencesCollector<'a, N, B> where
B: Send,
impl<'a, N, B> Sync for RayInterferencesCollector<'a, N, B> where
B: Sync,
impl<'a, N, B> Sync for RayInterferencesCollector<'a, N, B> where
B: Sync,