Skip to main content

Collision

Type Alias Collision 

Source
pub type Collision = RTCCollision;
Expand description

A candidate colliding primitive pair reported by Scene::collide: the geomID/primID of one primitive in each scene. It is a potentially-intersecting pair from a leaf pair reached during broad-phase traversal; embree does not test the bounds before reporting, so the pair’s bounds need not overlap and the callback must narrow-phase.

Aliased Type§

#[repr(C)]
pub struct Collision { pub geomID0: u32, pub primID0: u32, pub geomID1: u32, pub primID1: u32, }

Fields§

§geomID0: u32§primID0: u32§geomID1: u32§primID1: u32