31 INLINE
OdeGeom get_geom1()
const;
32 INLINE
OdeGeom get_geom2()
const;
33 INLINE
OdeBody get_body1()
const;
34 INLINE
OdeBody get_body2()
const;
36 INLINE
size_t get_num_contacts()
const;
37 INLINE LPoint3f get_contact_point(
size_t n)
const;
40 MAKE_SEQ(get_contact_points, get_num_contacts, get_contact_point);
41 MAKE_SEQ(get_contact_geoms, get_num_contacts, get_contact_geom);
43 INLINE
operator bool ()
const;
44 INLINE
bool is_empty()
const;
48 dGeomID _geom1, _geom2;
49 dBodyID _body1, _body2;
57 static void init_type() {
58 TypedReferenceCount::init_type();
60 TypedReferenceCount::get_class_type());
63 return get_class_type();
65 virtual TypeHandle force_init_type() {init_type();
return get_class_type();}
A class used to hold information about a collision that has occurred.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
void register_type(TypeHandle &type_handle, const std::string &name)
This inline function is just a convenient way to call TypeRegistry::register_type(),...