#[repr(C)]pub struct b3BoxHull {
pub base: b3HullData,
pub boxVertices: [b3HullVertex; 8],
pub boxPoints: [b3Vec3; 8],
pub boxEdges: [b3HullHalfEdge; 24],
pub boxFaces: [b3HullFace; 6],
pub padding: [u8; 2],
pub boxPlanes: [b3Plane; 6],
}Expand description
Efficient box hull
Fields§
§base: b3HullDataThe embedded hull. So the offsets index into the arrays that follow.
boxVertices: [b3HullVertex; 8]< Box vertices.
boxPoints: [b3Vec3; 8]< Box points.
boxEdges: [b3HullHalfEdge; 24]< Box half-edges.
boxFaces: [b3HullFace; 6]< Box faces.
padding: [u8; 2]< Explicit padding, see b3HullData::padding.
boxPlanes: [b3Plane; 6]< Box face planes.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for b3BoxHull
impl RefUnwindSafe for b3BoxHull
impl Send for b3BoxHull
impl Sync for b3BoxHull
impl Unpin for b3BoxHull
impl UnsafeUnpin for b3BoxHull
impl UnwindSafe for b3BoxHull
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