#[repr(C)]pub struct JPH_PhysicsSettings {Show 26 fields
pub maxInFlightBodyPairs: c_int,
pub stepListenersBatchSize: c_int,
pub stepListenerBatchesPerJob: c_int,
pub baumgarte: f32,
pub speculativeContactDistance: f32,
pub penetrationSlop: f32,
pub linearCastThreshold: f32,
pub linearCastMaxPenetration: f32,
pub manifoldTolerance: f32,
pub maxPenetrationDistance: f32,
pub bodyPairCacheMaxDeltaPositionSq: f32,
pub bodyPairCacheCosMaxDeltaRotationDiv2: f32,
pub contactNormalCosMaxDeltaRotation: f32,
pub contactPointPreserveLambdaMaxDistSq: f32,
pub numVelocitySteps: u32,
pub numPositionSteps: u32,
pub minVelocityForRestitution: f32,
pub timeBeforeSleep: f32,
pub pointVelocitySleepThreshold: f32,
pub deterministicSimulation: bool,
pub constraintWarmStart: bool,
pub useBodyPairContactCache: bool,
pub useManifoldReduction: bool,
pub useLargeIslandSplitter: bool,
pub allowSleeping: bool,
pub checkActiveEdges: bool,
}Fields§
§maxInFlightBodyPairs: c_int§stepListenersBatchSize: c_int§stepListenerBatchesPerJob: c_int§baumgarte: f32§speculativeContactDistance: f32§penetrationSlop: f32§linearCastThreshold: f32§linearCastMaxPenetration: f32§manifoldTolerance: f32§maxPenetrationDistance: f32§bodyPairCacheMaxDeltaPositionSq: f32§bodyPairCacheCosMaxDeltaRotationDiv2: f32§contactNormalCosMaxDeltaRotation: f32§contactPointPreserveLambdaMaxDistSq: f32§numVelocitySteps: u32§numPositionSteps: u32§minVelocityForRestitution: f32§timeBeforeSleep: f32§pointVelocitySleepThreshold: f32§deterministicSimulation: bool§constraintWarmStart: bool§useBodyPairContactCache: bool§useManifoldReduction: bool§useLargeIslandSplitter: bool§allowSleeping: bool§checkActiveEdges: boolTrait Implementations§
Source§impl Clone for JPH_PhysicsSettings
impl Clone for JPH_PhysicsSettings
impl Copy for JPH_PhysicsSettings
Auto Trait Implementations§
impl Freeze for JPH_PhysicsSettings
impl RefUnwindSafe for JPH_PhysicsSettings
impl Send for JPH_PhysicsSettings
impl Sync for JPH_PhysicsSettings
impl Unpin for JPH_PhysicsSettings
impl UnsafeUnpin for JPH_PhysicsSettings
impl UnwindSafe for JPH_PhysicsSettings
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