Struct ami::BBox [] [src]

pub struct BBox { /* fields omitted */ }

Bounding box

Methods

impl BBox
[src]

[src]

Create an new BBox at position p.

[src]

Check if BBox collides with other BBox.

[src]

Check if BBox collides with BCube.

[src]

Check if BBox collides with point p.

[src]

Get all 8 points of the BBox.

[src]

Get the center of the BBox.

Trait Implementations

impl Clone for BBox
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Copy for BBox
[src]

impl Debug for BBox
[src]

[src]

Formats the value using the given formatter. Read more

impl Sub<Vec3> for BBox
[src]

The resulting type after applying the - operator.

[src]

Performs the - operation.

impl Add<Vec3> for BBox
[src]

The resulting type after applying the + operator.

[src]

Performs the + operation.

Auto Trait Implementations

impl Send for BBox

impl Sync for BBox