pub struct DynamicIntersection {
pub toi: f32,
pub normal: Vector3,
pub depth: f32,
pub point_on_a: Vector3,
pub point_on_b: Vector3,
}Fields§
§toi: f32§normal: Vector3§depth: f32§point_on_a: Vector3The contact point on shape A, in world coordinates.
point_on_b: Vector3The contact point on shape B, in world coordinates.
Trait Implementations§
Source§impl Clone for DynamicIntersection
impl Clone for DynamicIntersection
Source§impl Debug for DynamicIntersection
impl Debug for DynamicIntersection
Source§impl From<DynamicIntersection> for Intersection
impl From<DynamicIntersection> for Intersection
Source§fn from(intersection: DynamicIntersection) -> Self
fn from(intersection: DynamicIntersection) -> Self
Converts to this type from the input type.
Source§impl PartialEq for DynamicIntersection
impl PartialEq for DynamicIntersection
Source§impl PartialOrd for DynamicIntersection
impl PartialOrd for DynamicIntersection
impl StructuralPartialEq for DynamicIntersection
Auto Trait Implementations§
impl Freeze for DynamicIntersection
impl RefUnwindSafe for DynamicIntersection
impl Send for DynamicIntersection
impl Sync for DynamicIntersection
impl Unpin for DynamicIntersection
impl UnsafeUnpin for DynamicIntersection
impl UnwindSafe for DynamicIntersection
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