14#ifndef COLLISIONGEOM_H
15#define COLLISIONGEOM_H
29class EXPCL_PANDA_COLLIDE CollisionGeom :
public CollisionPolygon {
31 INLINE CollisionGeom(
const LVecBase3 &a,
const LVecBase3 &b,
33 INLINE CollisionGeom(
const CollisionGeom ©);
36 virtual CollisionSolid *make_copy();
41 virtual void output(std::ostream &out)
const;
51 static void init_type() {
52 CollisionPolygon::init_type();
54 CollisionPolygon::get_class_type());
57 return get_class_type();
59 virtual TypeHandle force_init_type() {init_type();
return get_class_type();}
64 friend class CollisionTraverser;
virtual PStatCollector & get_test_pcollector()
Returns a PStatCollector that is used to count the number of intersection tests made against a solid ...
virtual PStatCollector & get_volume_pcollector()
Returns a PStatCollector that is used to count the number of bounding volume tests made against a sol...
A lightweight class that represents a single element that may be timed and/or counted via stats.
TypeHandle is the identifier used to differentiate C++ class types.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
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(),...