00001 // Filename: pandaphysics.cxx 00002 // Created by: drose (16May00) 00003 // 00004 //////////////////////////////////////////////////////////////////// 00005 00006 #include "pandaphysics.h" 00007 00008 #ifndef LINK_IN_PHYSICS 00009 #include <config_physics.h> 00010 #include <config_particlesystem.h> 00011 #endif 00012 00013 //////////////////////////////////////////////////////////////////// 00014 // Function: init_libpandaphysics 00015 // Description: Initializes the library. This must be called at 00016 // least once before any of the functions or classes in 00017 // this library can be used. Normally it will be 00018 // called by the static initializers and need not be 00019 // called explicitly, but special cases exist. 00020 //////////////////////////////////////////////////////////////////// 00021 void 00022 init_libpandaphysics() { 00023 #ifndef LINK_IN_PHYSICS 00024 init_libphysics(); 00025 init_libparticlesystem(); 00026 #endif 00027 }