ncollide3d/query/proximity/proximity.rs
1/// Proximity information.
2#[derive(Debug, PartialEq, Clone, Copy)]
3#[cfg_attr(feature = "serde", derive(Serialize, Deserialize))]
4pub enum Proximity {
5 /// The two objects are intersecting.
6 Intersecting = 0,
7 /// The two objects are non-intersecting but closer than a given distance.
8 WithinMargin,
9 /// The two objects are non-intersecting and further than a given distance.
10 Disjoint,
11}