00001 // Filename: config_mathutil.cxx 00002 // Created by: drose (01Oct99) 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_mathutil.h" 00020 #include "boundingVolume.h" 00021 #include "geometricBoundingVolume.h" 00022 #include "finiteBoundingVolume.h" 00023 #include "omniBoundingVolume.h" 00024 #include "boundingSphere.h" 00025 #include "boundingHexahedron.h" 00026 #include "boundingLine.h" 00027 #include "linmath_events.h" 00028 #include "dconfig.h" 00029 00030 Configure(config_mathutil); 00031 NotifyCategoryDef(mathutil, ""); 00032 00033 const double fft_offset = config_mathutil.GetDouble("fft-offset", 0.001); 00034 const double fft_factor = config_mathutil.GetDouble("fft-factor", 0.1); 00035 const double fft_exponent = config_mathutil.GetDouble("fft-exponent", 4); 00036 00037 ConfigureFn(config_mathutil) { 00038 BoundingHexahedron::init_type(); 00039 BoundingSphere::init_type(); 00040 BoundingVolume::init_type(); 00041 FiniteBoundingVolume::init_type(); 00042 GeometricBoundingVolume::init_type(); 00043 OmniBoundingVolume::init_type(); 00044 BoundingLine::init_type(); 00045 EventStoreVec2::init_type("EventStoreVec2"); 00046 EventStoreVec3::init_type("EventStoreVec3"); 00047 EventStoreMat4::init_type("EventStoreMat4"); 00048 } 00049