pub struct Obb {
pub center: Vec3<f32>,
pub axes: Mat3<f32>,
pub half_extents: Vec3<f32>,
}Expand description
Oriented bounding box recovered from the principal axes of a cloud.
Fields§
§center: Vec3<f32>Box center.
axes: Mat3<f32>Column vectors are the three orthonormal box axes.
half_extents: Vec3<f32>Half side lengths along each axis.
Trait Implementations§
impl Copy for Obb
impl StructuralPartialEq for Obb
Auto Trait Implementations§
impl Freeze for Obb
impl RefUnwindSafe for Obb
impl Send for Obb
impl Sync for Obb
impl Unpin for Obb
impl UnsafeUnpin for Obb
impl UnwindSafe for Obb
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