Struct ami::BBox[][src]

pub struct BBox { /* fields omitted */ }

Single-precision bounding box

Methods

impl BBox
[src]

Create an new BBox at position p.

Check if BBox collides with other BBox.

Check if BBox collides with BCube.

Check if BBox collides with point p.

Get all 8 points of the BBox.

Get all 6 sides of the BBox as points.

Get the center of the BBox.

Trait Implementations

impl Clone for BBox
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for BBox
[src]

impl Debug for BBox
[src]

Formats the value using the given formatter. Read more

impl Sub<Vector> for BBox
[src]

The resulting type after applying the - operator.

Performs the - operation.

impl Add<Vector> for BBox
[src]

The resulting type after applying the + operator.

Performs the + operation.

impl Into<BCube> for BBox
[src]

Performs the conversion.

Auto Trait Implementations

impl Send for BBox

impl Sync for BBox