Struct adi_gpu_base::BBox[][src]

pub struct BBox { /* fields omitted */ }

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 Into<BCube> for BBox
[src]

Performs the conversion.

impl Add<Vec3> for BBox
[src]

The resulting type after applying the + operator.

Performs the + operation.

impl Sub<Vec3> for BBox
[src]

The resulting type after applying the - operator.

Performs the - operation.

impl Clone for BBox
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for BBox
[src]

Formats the value using the given formatter. Read more

impl Copy for BBox
[src]

Auto Trait Implementations

impl Send for BBox

impl Sync for BBox