pub struct BoundingBox {
pub min: Vector3,
pub max: Vector3,
}Expand description
Box3, as far as BufferGeometry.computeBoundingBox() needs it.
Fields§
§min: Vector3Box3.min.
max: Vector3Box3.max.
Implementations§
Source§impl BoundingBox
impl BoundingBox
Sourcepub fn from_buffer_attribute(attribute: &BufferAttribute) -> Self
pub fn from_buffer_attribute(attribute: &BufferAttribute) -> Self
Box3.setFromBufferAttribute().
Sourcepub fn expand_by_point(&mut self, point: &Vector3) -> &mut Self
pub fn expand_by_point(&mut self, point: &Vector3) -> &mut Self
Box3.expandByPoint().
Trait Implementations§
Source§impl Clone for BoundingBox
impl Clone for BoundingBox
impl Copy for BoundingBox
Source§impl Debug for BoundingBox
impl Debug for BoundingBox
Source§impl PartialEq for BoundingBox
impl PartialEq for BoundingBox
impl StructuralPartialEq for BoundingBox
Auto Trait Implementations§
impl Freeze for BoundingBox
impl RefUnwindSafe for BoundingBox
impl Send for BoundingBox
impl Sync for BoundingBox
impl Unpin for BoundingBox
impl UnsafeUnpin for BoundingBox
impl UnwindSafe for BoundingBox
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more