pandabullet.cxx 968 B

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