Struct BvhLeafEntry
#[repr(C)]pub struct BvhLeafEntry {
pub collider_id: u32,
pub tight_aabb: Aabb3D,
pub fat_aabb: Aabb3D,
pub active: bool,
}Expand description
Leaf entry in BroadphaseBvh.
Fields§
§collider_id: u32External collider ID.
tight_aabb: Aabb3DTight world-space AABB of the collider.
fat_aabb: Aabb3DHysteresis-fattened world-space AABB stored in the hierarchy.
active: boolTrue if this leaf slot is active.
Trait Implementations§
§impl Clone for BvhLeafEntry
impl Clone for BvhLeafEntry
§fn clone(&self) -> BvhLeafEntry
fn clone(&self) -> BvhLeafEntry
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for BvhLeafEntry
§impl Debug for BvhLeafEntry
impl Debug for BvhLeafEntry
§impl Default for BvhLeafEntry
impl Default for BvhLeafEntry
§fn default() -> BvhLeafEntry
fn default() -> BvhLeafEntry
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for BvhLeafEntry
impl RefUnwindSafe for BvhLeafEntry
impl Send for BvhLeafEntry
impl Sync for BvhLeafEntry
impl Unpin for BvhLeafEntry
impl UnsafeUnpin for BvhLeafEntry
impl UnwindSafe for BvhLeafEntry
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