Struct spectra::scene::aabb::AABB[][src]

pub struct AABB {
    pub lower: V3<f32>,
    pub upper: V3<f32>,
}

Fields

Methods

impl AABB
[src]

Construct an AABB from vertices. Return None if there’s no vertex.

Construct an AABB from AABBs. Return None if there’s no AABB.

Trait Implementations

impl Clone for AABB
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for AABB
[src]

impl Debug for AABB
[src]

Formats the value using the given formatter. Read more

impl PartialEq for AABB
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

impl Send for AABB

impl Sync for AABB