| 12345678910111213141516171819202122232425262728 |
- // Filename: pandaphysics.cxx
- // Created by: drose (16May00)
- //
- ////////////////////////////////////////////////////////////////////
- #include "pandaphysics.h"
- #include "config_physics.h"
- #include "config_particlesystem.h"
- // By including checkPandaVersion.h, we guarantee that runtime
- // attempts to load libpandaphysics.so/.dll will fail if they
- // inadvertently link with the wrong version of libdtool.so/.dll.
- #include "checkPandaVersion.h"
- ////////////////////////////////////////////////////////////////////
- // Function: init_libpandaphysics
- // Description: Initializes the library. This must be called at
- // least once before any of the functions or classes in
- // this library can be used. Normally it will be
- // called by the static initializers and need not be
- // called explicitly, but special cases exist.
- ////////////////////////////////////////////////////////////////////
- void
- init_libpandaphysics() {
- init_libphysics();
- init_libparticlesystem();
- }
|