Skip to main content

b3OverlapResultFcn

Type Alias b3OverlapResultFcn 

Source
pub type b3OverlapResultFcn = Option<unsafe extern "C" fn(shapeId: b3ShapeId, context: *mut c_void) -> bool>;
Expand description

Prototype callback for overlap queries. Called for each shape found in the query. @see b3World_OverlapAABB @return false to terminate the query. @ingroup world

Aliased Type§

pub enum b3OverlapResultFcn {
    None,
    Some(unsafe extern "C" fn(b3ShapeId, *mut c_void) -> bool),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(b3ShapeId, *mut c_void) -> bool)

Some value of type T.