00001 // Filename: pandacr.cxx 00002 // Created by: skyler, baseed on pandagl 00003 // 00004 //////////////////////////////////////////////////////////////////// 00005 00006 #include "pandacr.h" 00007 00008 #include <config_crgsg.h> 00009 #ifdef HAVE_WCR 00010 #include <config_wcrdisplay.h> 00011 #endif 00012 00013 //////////////////////////////////////////////////////////////////// 00014 // Function: init_libpandacr 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_libpandacr() { 00023 init_libcrgsg(); 00024 #ifdef HAVE_WCR 00025 init_libwcrdisplay(); 00026 #endif 00027 }