15 #ifndef COLLISIONGEOM_H 16 #define COLLISIONGEOM_H 18 #include "pandabase.h" 20 #include "collisionPolygon.h" 37 INLINE CollisionGeom(
const CollisionGeom ©);
45 virtual void output(ostream &out)
const;
55 static void init_type() {
56 CollisionPolygon::init_type();
57 register_type(_type_handle,
"CollisionGeom",
58 CollisionPolygon::get_class_type());
61 return get_class_type();
63 virtual TypeHandle force_init_type() {init_type();
return get_class_type();}
71 #include "collisionGeom.I" This is the base class for all three-component vectors and points.
The abstract base class for all things that can collide with other things in the world, and all the things they can collide with (except geometry).
virtual PStatCollector & get_test_pcollector()
Returns a PStatCollector that is used to count the number of intersection tests made against a solid ...
A lightweight class that represents a single element that may be timed and/or counted via stats...
A special CollisionPolygon created just for the purpose of detecting collision against geometry...
This class manages the traversal through the scene graph to detect collisions.
virtual PStatCollector & get_volume_pcollector()
Returns a PStatCollector that is used to count the number of bounding volume tests made against a sol...
TypeHandle is the identifier used to differentiate C++ class types.