pub mod circle;
pub mod ellipse;
pub mod line;
pub mod polygon;
pub mod rect;
mod shared;
pub mod triangle;
use crate::prelude::*;
pub trait IntersectsShape {
#[must_use]
fn intersects_rect(&self, rect: &Rect) -> bool;
#[must_use]
fn intersects_circle(&self, circle: &Circle) -> bool;
#[must_use]
fn intersects_line(&self, line: &Line) -> bool;
#[must_use]
fn intersects_triangle(&self, triangle: &Triangle) -> bool;
#[must_use]
fn intersects_ellipse(&self, ellipse: &Ellipse) -> bool;
#[must_use]
fn intersects_polygon(&self, polygon: &Polygon) -> bool;
}