Trait flat_spatial::AABB
source · pub trait AABB: Copy {
type V2: Vec2;
// Required methods
fn ll(&self) -> Self::V2;
fn ur(&self) -> Self::V2;
// Provided method
fn intersects(&self, b: &Self) -> bool { ... }
}
pub trait AABB: Copy {
type V2: Vec2;
// Required methods
fn ll(&self) -> Self::V2;
fn ur(&self) -> Self::V2;
// Provided method
fn intersects(&self, b: &Self) -> bool { ... }
}