00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015 #ifndef __CONFIG_BULLET_H__
00016 #define __CONFIG_BULLET_H__
00017
00018 #include "pandabase.h"
00019 #include "notifyCategoryProxy.h"
00020
00021 #include "configVariableSearchPath.h"
00022 #include "configVariableBool.h"
00023 #include "configVariableEnum.h"
00024 #include "configVariableDouble.h"
00025 #include "configVariableInt.h"
00026
00027 #include "bulletWorld.h"
00028
00029 NotifyCategoryDecl(bullet, EXPCL_PANDABULLET, EXPTP_PANDABULLET);
00030
00031 extern ConfigVariableInt bullet_max_objects;
00032 extern ConfigVariableInt bullet_gc_lifetime;
00033 extern ConfigVariableEnum<BulletWorld::BroadphaseAlgorithm> bullet_broadphase_algorithm;
00034 extern ConfigVariableEnum<BulletWorld::FilterAlgorithm> bullet_filter_algorithm;
00035 extern ConfigVariableDouble bullet_sap_extents;
00036 extern ConfigVariableBool bullet_enable_contact_events;
00037 extern ConfigVariableInt bullet_solver_iterations;
00038 extern ConfigVariableBool bullet_additional_damping;
00039 extern ConfigVariableDouble bullet_additional_damping_linear_factor;
00040 extern ConfigVariableDouble bullet_additional_damping_angular_factor;
00041 extern ConfigVariableDouble bullet_additional_damping_linear_threshold;
00042 extern ConfigVariableDouble bullet_additional_damping_angular_threshold;
00043
00044 extern EXPCL_PANDABULLET void init_libbullet();
00045
00046 #endif // __CONFIG_BULLET_H__