15 #include "config_mathutil.h" 16 #include "boundingVolume.h" 17 #include "geometricBoundingVolume.h" 18 #include "finiteBoundingVolume.h" 19 #include "omniBoundingVolume.h" 20 #include "boundingSphere.h" 21 #include "boundingBox.h" 22 #include "boundingHexahedron.h" 23 #include "boundingLine.h" 24 #include "boundingPlane.h" 25 #include "unionBoundingVolume.h" 26 #include "intersectionBoundingVolume.h" 28 #include "pandaSystem.h" 30 Configure(config_mathutil);
31 NotifyCategoryDef(mathutil,
"");
33 ConfigureFn(config_mathutil) {
38 (
"fft-offset", 0.001);
47 (
"fft-error-threshold", 0.2);
50 (
"bounds-type", BoundingVolume::BT_sphere,
51 PRC_DESC(
"Specify the type of bounding volume that is created automatically " 52 "by Panda to enclose geometry. Use 'sphere' or 'box', or use " 53 "'best' to let Panda decide which is most appropriate. You can " 54 "also use 'fastest' if you don't want Panda to waste much time " 55 "computing the most optimal bounding volume."));
67 static bool initialized =
false;
73 BoundingHexahedron::init_type();
74 BoundingSphere::init_type();
75 BoundingBox::init_type();
76 BoundingVolume::init_type();
77 FiniteBoundingVolume::init_type();
78 GeometricBoundingVolume::init_type();
79 OmniBoundingVolume::init_type();
80 UnionBoundingVolume::init_type();
81 IntersectionBoundingVolume::init_type();
82 BoundingLine::init_type();
83 BoundingPlane::init_type();
static PandaSystem * get_global_ptr()
Returns the global PandaSystem object.
This class is used as a namespace to group several global properties of Panda.
void add_system(const string &system)
Intended for use by each subsystem to register itself at startup.
This is a convenience class to specialize ConfigVariable as a floating-point type.
This class specializes ConfigVariable as an enumerated type.