#[repr(C)]pub struct b3BoxHull {Show 13 fields
pub base: b3HullData,
pub boxVertices: [b3HullVertex; 8],
pub boxPoints: [b3Vec3; 8],
pub boxEdges: [b3HullHalfEdge; 24],
pub boxPlanes: [b3Plane; 6],
pub boxFaces: [b3HullFace; 6],
pub padding: [u8; 10],
pub vx: [f32; 8],
pub vy: [f32; 8],
pub vz: [f32; 8],
pub nx: [f32; 8],
pub ny: [f32; 8],
pub nz: [f32; 8],
}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.
boxPlanes: [b3Plane; 6]< Box face planes.
boxFaces: [b3HullFace; 6]< Box faces.
padding: [u8; 10]< Explicit padding, see b3HullData::padding.
vx: [f32; 8]< vertex x
vy: [f32; 8]< vertex y
vz: [f32; 8]< vertex z
nx: [f32; 8]< normal x, padded to multiple of 4
ny: [f32; 8]< normal y, padded to multiple of 4
nz: [f32; 8]< normal z, padded to multiple of 4
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