pandaphysics.cxx 1.0 KB

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