pub struct SatCache {
pub separation: f32,
pub type_: u8,
pub index_a: u8,
pub index_b: u8,
pub hit: u8,
}Expand description
Separating axis test cache. Provides temporal acceleration of collision routines. (b3SATCache)
Fields§
§separation: f32The separation when the cache is populated. Negative for overlap.
type_: u8§index_a: u8Index of the feature on shape A.
index_b: u8Index of the feature on shape B.
hit: u8Was the cache re-used?
Trait Implementations§
impl Copy for SatCache
impl StructuralPartialEq for SatCache
Auto Trait Implementations§
impl Freeze for SatCache
impl RefUnwindSafe for SatCache
impl Send for SatCache
impl Sync for SatCache
impl Unpin for SatCache
impl UnsafeUnpin for SatCache
impl UnwindSafe for SatCache
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