Intersect

Trait Intersect 

Source
pub trait Intersect<T> {
    // Required method
    fn intersect(&self, other: &T) -> bool;
}
Expand description

Trait for boolean intersection tests.

Required Methods§

Source

fn intersect(&self, other: &T) -> bool

Returns true when two objects intersect.

Implementors§

Source§

impl<T: FloatScalar> Intersect<Ray<T, Vector3<T>>> for Box3<T>

Intersect Queries

Source§

impl<T: FloatScalar> Intersect<Sphere3<T>> for Box3<T>

Source§

impl<T: FloatScalar> Intersect<Tri3<T>> for Sphere3<T>