[−][src]Trait broccoli::query::RayCast
A Vec
Associated Types
Loading content...Required methods
pub fn compute_distance_to_rect(
&mut self,
ray: &Ray<Self::N>,
a: &Rect<Self::N>
) -> CastResult<Self::N>
[src]
&mut self,
ray: &Ray<Self::N>,
a: &Rect<Self::N>
) -> CastResult<Self::N>
Returns true if the ray intersects with this rectangle. This function allows as to prune which nodes to visit.
Provided methods
pub fn compute_distance_to_bot(
&mut self,
ray: &Ray<Self::N>,
a: &Self::T
) -> CastResult<Self::N>
[src]
&mut self,
ray: &Ray<Self::N>,
a: &Self::T
) -> CastResult<Self::N>
The expensive collision detection This is where the user can do expensive collision detection on the shape contains within it's bounding box. Its default implementation just calls compute_distance_to_rect()