#[repr(C)]pub struct b3SATCache {
pub separation: f32,
pub type_: u8,
pub indexA: u8,
pub indexB: u8,
pub hit: u8,
}Expand description
Separating axis test cache. Provides temporal acceleration of collision routines.
Fields§
§separation: f32The separation when the cache is populated. Negative for overlap.
type_: u8b3SeparatingFeature.
indexA: u8Index of the feature on shape A.
indexB: u8Index of the feature on shape B.
hit: u8Was the cache re-used?
Trait Implementations§
Source§impl Clone for b3SATCache
impl Clone for b3SATCache
Source§fn clone(&self) -> b3SATCache
fn clone(&self) -> b3SATCache
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 b3SATCache
Auto Trait Implementations§
impl Freeze for b3SATCache
impl RefUnwindSafe for b3SATCache
impl Send for b3SATCache
impl Sync for b3SATCache
impl Unpin for b3SATCache
impl UnsafeUnpin for b3SATCache
impl UnwindSafe for b3SATCache
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