Struct ncollide2d::query::RayIntersectionCostFn[][src]

pub struct RayIntersectionCostFn<'a, N: 'a + Real> { /* fields omitted */ }

A search thet selects the objects that has the smallest time of impact with a given ray.

Methods

impl<'a, N: Real> RayIntersectionCostFn<'a, N>
[src]

Creates a new BestRayInterferenceSearch.

Trait Implementations

impl<'a, N, B, BV> BVTCostFn<N, B, BV> for RayIntersectionCostFn<'a, N> where
    N: Real,
    B: RayCast<N>,
    BV: RayCast<N>, 
[src]

User-defined data attached to each BVT leaf.

Computes the cost of a bounding volume.

Computes the cost of an object, and the result to be returned if it is the best one.

Auto Trait Implementations

impl<'a, N> Send for RayIntersectionCostFn<'a, N>

impl<'a, N> Sync for RayIntersectionCostFn<'a, N>