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