Struct physx_sys::PxContactPoint
source · #[repr(C)]pub struct PxContactPoint {Show 13 fields
pub normal: PxVec3,
pub separation: f32,
pub point: PxVec3,
pub maxImpulse: f32,
pub targetVel: PxVec3,
pub staticFriction: f32,
pub materialFlags: u8,
pub structgen_pad0: [u8; 3],
pub internalFaceIndex1: u32,
pub dynamicFriction: f32,
pub restitution: f32,
pub damping: f32,
pub structgen_pad1: [u8; 12],
}Fields§
§normal: PxVec3§separation: f32§point: PxVec3§maxImpulse: f32§targetVel: PxVec3§staticFriction: f32§materialFlags: u8§structgen_pad0: [u8; 3]§internalFaceIndex1: u32§dynamicFriction: f32§restitution: f32§damping: f32§structgen_pad1: [u8; 12]Trait Implementations§
source§impl Clone for PxContactPoint
impl Clone for PxContactPoint
source§fn clone(&self) -> PxContactPoint
fn clone(&self) -> PxContactPoint
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more