00001 // Filename: config_eggcharbase.cxx 00002 // Created by: drose (26Feb01) 00003 // 00004 //////////////////////////////////////////////////////////////////// 00005 // 00006 // PANDA 3D SOFTWARE 00007 // Copyright (c) 2001, Disney Enterprises, Inc. All rights reserved 00008 // 00009 // All use of this software is subject to the terms of the Panda 3d 00010 // Software license. You should have received a copy of this license 00011 // along with this source code; you will also find a current copy of 00012 // the license at http://www.panda3d.org/license.txt . 00013 // 00014 // To contact the maintainers of this program write to 00015 // panda3d@yahoogroups.com . 00016 // 00017 //////////////////////////////////////////////////////////////////// 00018 00019 #include "config_eggcharbase.h" 00020 #include "eggBackPointer.h" 00021 #include "eggJointNodePointer.h" 00022 #include "eggJointPointer.h" 00023 #include "eggMatrixTablePointer.h" 00024 #include "eggVertexPointer.h" 00025 00026 #include <dconfig.h> 00027 00028 00029 Configure(config_eggcharbase); 00030 00031 // NotifyCategoryDef(eggcharbase, ""); 00032 00033 ConfigureFn(config_eggcharbase) { 00034 init_libeggcharbase(); 00035 } 00036 00037 //////////////////////////////////////////////////////////////////// 00038 // Function: init_libeggcharbase 00039 // Description: Initializes the library. This must be called at 00040 // least once before any of the functions or classes in 00041 // this library can be used. Normally it will be 00042 // called by the static initializers and need not be 00043 // called explicitly, but special cases exist. 00044 //////////////////////////////////////////////////////////////////// 00045 void 00046 init_libeggcharbase() { 00047 static bool initialized = false; 00048 if (initialized) { 00049 return; 00050 } 00051 initialized = true; 00052 00053 EggBackPointer::init_type(); 00054 EggJointNodePointer::init_type(); 00055 EggJointPointer::init_type(); 00056 EggMatrixTablePointer::init_type(); 00057 EggVertexPointer::init_type(); 00058 }