Type Alias gltf::mesh::BoundingBox

source ·
pub type BoundingBox = Bounds<[f32; 3]>;
Expand description

Vertex position bounding box.

Aliased Type§

struct BoundingBox {
    pub min: [f32; 3],
    pub max: [f32; 3],
}

Fields§

§min: [f32; 3]

Minimum value.

§max: [f32; 3]

Maximum value.

Trait Implementations

source§

impl<T: Clone> Clone for Bounds<T>

source§

fn clone(&self) -> Bounds<T>

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl<T: Debug> Debug for Bounds<T>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<T: PartialEq> PartialEq for Bounds<T>

source§

fn eq(&self, other: &Bounds<T>) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl<T> StructuralPartialEq for Bounds<T>