[][src]Trait elma::lev::BoundingBox

pub trait BoundingBox {
    fn bounding_box(&self) -> [Position<f64>; 4];
}

This trait specifies something having a rectangle bounding box.

Required methods

fn bounding_box(&self) -> [Position<f64>; 4]

Bounding box of &self, going from top-left, top-right, bottom-left to bottom-right.

Loading content...

Implementors

impl BoundingBox for Level[src]

impl BoundingBox for Polygon[src]

Loading content...