pub type b2FrictionCallback = Option<unsafe extern "C" fn(frictionA: f32, userMaterialIdA: u64, frictionB: f32, userMaterialIdB: u64) -> f32>;Expand description
Optional friction mixing callback. This intentionally provides no context objects because this is called from a worker thread. @warning This function should not attempt to modify Box2D state or user application state. @ingroup world
Aliased Type§
pub enum b2FrictionCallback {
None,
Some(unsafe extern "C" fn(f32, u64, f32, u64) -> f32),
}