00001 //----------------------------------------------------------------------------------- 00002 // 00003 // Pro-Vocation Light Engine (PVLE) 00004 // Copyright (C) 2007-2009 Sukender, KinoX & Buzib 00005 // For more information, contact us : sukender@free.fr 00006 // 00007 // This program is free software; you can redistribute it and/or modify 00008 // it under the terms of the GNU General Public License as published by 00009 // the Free Software Foundation; either version 3 of the License, or 00010 // (at your option) any later version. 00011 // 00012 // For any use that is not compatible with the terms of the GNU 00013 // General Public License, please contact the authors for alternative 00014 // licensing options. 00015 // 00016 // This program is distributed in the hope that it will be useful, 00017 // but WITHOUT ANY WARRANTY; without even the implied warranty of 00018 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00019 // GNU General Public License for more details. 00020 // 00021 // You should have received a copy of the GNU General Public License along 00022 // with this program; if not, write to the Free Software Foundation, Inc., 00023 // 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. 00024 // 00025 //----------------------------------------------------------------------------------- 00026 00029 00030 #ifndef PHY_COMMON_SURFACE_PARAMS_H 00031 #define PHY_COMMON_SURFACE_PARAMS_H 00032 00033 #include <PVLE/Physics/SurfaceParams.h> 00034 00035 namespace Physics { 00036 00038 namespace Materials { 00039 static const SurfaceParams METAL(0, 1); 00040 static const SurfaceParams CONCRETE(0, 100); 00041 static const SurfaceParams ICE(0, 0.001f); 00042 static const SurfaceParams GRASS_SOFT(SurfaceParams::SOFT_CFM | SurfaceParams::SOFT_ERP | SurfaceParams::BOUNCE, 15, 0, 0.005f, 0.02f, 0.3f, 1e-4f); 00043 static const SurfaceParams ROCKY_FLOOR(0, 1000); 00044 static const SurfaceParams RUBBER(SurfaceParams::BOUNCE | SurfaceParams::SOFT_ERP, 5000, 0, .1f, .02f); 00045 } // namespace Materials 00046 00047 } // namespace Physics 00048 00049 #endif // PHY_COMMON_SURFACE_PARAMS_H