Panda3D
config_bullet.h
1 // Filename: config_bullet.h
2 // Created by: enn0x (23Jan10)
3 //
4 ////////////////////////////////////////////////////////////////////
5 //
6 // PANDA 3D SOFTWARE
7 // Copyright (c) Carnegie Mellon University. All rights reserved.
8 //
9 // All use of this software is subject to the terms of the revised BSD
10 // license. You should have received a copy of this license along
11 // with this source code in a file named "LICENSE."
12 //
13 ////////////////////////////////////////////////////////////////////
14 
15 #ifndef __CONFIG_BULLET_H__
16 #define __CONFIG_BULLET_H__
17 
18 #include "pandabase.h"
19 #include "notifyCategoryProxy.h"
20 
21 #include "configVariableSearchPath.h"
22 #include "configVariableBool.h"
23 #include "configVariableEnum.h"
24 #include "configVariableDouble.h"
25 #include "configVariableInt.h"
26 
27 #include "bulletWorld.h"
28 
29 NotifyCategoryDecl(bullet, EXPCL_PANDABULLET, EXPTP_PANDABULLET);
30 
31 extern ConfigVariableInt bullet_max_objects;
32 extern ConfigVariableInt bullet_gc_lifetime;
33 extern ConfigVariableEnum<BulletWorld::BroadphaseAlgorithm> bullet_broadphase_algorithm;
34 extern ConfigVariableEnum<BulletWorld::FilterAlgorithm> bullet_filter_algorithm;
35 extern ConfigVariableDouble bullet_sap_extents;
36 extern ConfigVariableBool bullet_enable_contact_events;
37 extern ConfigVariableInt bullet_solver_iterations;
38 extern ConfigVariableBool bullet_additional_damping;
39 extern ConfigVariableDouble bullet_additional_damping_linear_factor;
40 extern ConfigVariableDouble bullet_additional_damping_angular_factor;
41 extern ConfigVariableDouble bullet_additional_damping_linear_threshold;
42 extern ConfigVariableDouble bullet_additional_damping_angular_threshold;
43 
44 extern EXPCL_PANDABULLET void init_libbullet();
45 
46 #endif // __CONFIG_BULLET_H__
This is a convenience class to specialize ConfigVariable as a boolean type.
This is a convenience class to specialize ConfigVariable as a floating-point type.
This class specializes ConfigVariable as an enumerated type.
This is a convenience class to specialize ConfigVariable as an integer type.