[][src]Trait mgf::Overlaps

pub trait Overlaps<RHS> {
    fn overlaps(&self, rhs: &RHS) -> bool;
}

A type that can overlap another.

Overlaps is the most simple form of discrete collision detection and is supported by every Bound on itself and almost every Shape.

No Moving object satisfies Overlaps.

Required methods

fn overlaps(&self, rhs: &RHS) -> bool

Returns true if the two objects overlap and false otherwise.

Loading content...

Implementors

impl Overlaps<AABB> for AABB[src]

impl Overlaps<AABB> for Sphere[src]

impl Overlaps<Sphere> for AABB[src]

impl Overlaps<Sphere> for Sphere[src]

Loading content...