[][src]Trait physme::broad::Collider

pub trait Collider where
    NPoint<Self::Point>: Point
{ type Point: PhysPoint; fn bounding_box(&self) -> BoundingBox<Self::Point>;
fn status(&self) -> Status; }

A generic collider trait for the shapes in dim2 and dim3.

Associated Types

type Point: PhysPoint

The n-dimensional point over which this collider is generic.

Loading content...

Required methods

fn bounding_box(&self) -> BoundingBox<Self::Point>

Get the BoundingBox of this collider.

fn status(&self) -> Status

Get the Status of this collider (Static or Semikinematic).

Loading content...

Implementors

Loading content...