Panda3D

config_bullet.h

00001 // Filename: config_bullet.h
00002 // Created by: enn0x (23Jan10)
00003 //
00004 ////////////////////////////////////////////////////////////////////
00005 //
00006 // PANDA 3D SOFTWARE
00007 // Copyright (c) Carnegie Mellon University.  All rights reserved.
00008 //
00009 // All use of this software is subject to the terms of the revised BSD
00010 // license.  You should have received a copy of this license along
00011 // with this source code in a file named "LICENSE."
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__
 All Classes Functions Variables Enumerations