20 INLINE OdeCollisionEntry::
82 return _contact_geoms[n];
93 return _contact_geoms[n];
106 return _contact_geoms[n].get_pos();
115 INLINE OdeCollisionEntry::
116 operator bool ()
const {
117 return (_num_contacts != 0);
127 return (_num_contacts == 0);
size_t get_num_contacts() const
Returns the number of contacts in the collision.
static const LPoint3f & zero()
Returns a zero-length point.
This is a three-component point in space (as opposed to a three-component vector, which represents a ...
OdeContactGeom get_contact_geom(size_t n) const
Returns the nth contact geom in the collision.
OdeBody get_body2() const
Returns the second body in the collision.
OdeContactGeom operator[](size_t n) const
Returns the nth contact geom in the collision.
OdeGeom get_geom1() const
Returns the first geom in the collision.
bool is_empty() const
Returns true if the entry holds no contacts.
LPoint3f get_contact_point(size_t n) const
Returns the nth contact point in the collision.
OdeGeom get_geom2() const
Returns the second geom in the collision.
OdeBody get_body1() const
Returns the first body in the collision.