Panda3D
 All Classes Functions Variables Enumerations
pandaphysics.cxx
1 // Filename: pandaphysics.cxx
2 // Created by: drose (16May00)
3 //
4 ////////////////////////////////////////////////////////////////////
5 
6 #include "pandaphysics.h"
7 #include "config_physics.h"
8 #include "config_particlesystem.h"
9 
10 // By including checkPandaVersion.h, we guarantee that runtime
11 // attempts to load libpandaphysics.so/.dll will fail if they
12 // inadvertently link with the wrong version of libdtool.so/.dll.
13 
14 #include "checkPandaVersion.h"
15 
16 ////////////////////////////////////////////////////////////////////
17 // Function: init_libpandaphysics
18 // Description: Initializes the library. This must be called at
19 // least once before any of the functions or classes in
20 // this library can be used. Normally it will be
21 // called by the static initializers and need not be
22 // called explicitly, but special cases exist.
23 ////////////////////////////////////////////////////////////////////
24 void
25 init_libpandaphysics() {
26  init_libphysics();
27  init_libparticlesystem();
28 }