Struct collision::dbvt::FrustumVisitor
[−]
[src]
pub struct FrustumVisitor<'a, S: 'a, T> where
S: BaseFloat, { /* fields omitted */ }
Visitor for doing frustum intersection testing on the DBVT.
Will return the relation for intersections with the
Bound
implementation
of self.frustum.contains(bound).
Methods
impl<'a, S, T> FrustumVisitor<'a, S, T> where
S: BaseFloat,
T: TreeValue,
T::Bound: PlaneBound<S>,
[src]
S: BaseFloat,
T: TreeValue,
T::Bound: PlaneBound<S>,
pub fn new(frustum: &'a Frustum<S>) -> Self
[src]
Create a new visitor that will do containment tests using the given frustum
Trait Implementations
impl<'a, S: Debug + 'a, T: Debug> Debug for FrustumVisitor<'a, S, T> where
S: BaseFloat,
[src]
S: BaseFloat,
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl<'a, S, T> Visitor for FrustumVisitor<'a, S, T> where
S: BaseFloat,
T: TreeValue,
T::Bound: PlaneBound<S>,
[src]
S: BaseFloat,
T: TreeValue,
T::Bound: PlaneBound<S>,
Auto Trait Implementations
impl<'a, S, T> Send for FrustumVisitor<'a, S, T> where
S: Sync,
T: Send,
S: Sync,
T: Send,
impl<'a, S, T> Sync for FrustumVisitor<'a, S, T> where
S: Sync,
T: Sync,
S: Sync,
T: Sync,