pub struct Contact {
pub axis: Vec3,
pub distance: Scalar,
}Expand description
The axis along which two shapes are furthest apart.
Fields§
§axis: Vec3Unit direction of least overlap, pointing from a towards b.
distance: ScalarGap along axis.
Trait Implementations§
impl Copy for Contact
impl StructuralPartialEq for Contact
Auto Trait Implementations§
impl Freeze for Contact
impl RefUnwindSafe for Contact
impl Send for Contact
impl Sync for Contact
impl Unpin for Contact
impl UnwindSafe for Contact
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