00001 //------------------------------------------------------------------------------ 00002 // Lamp : Open source game middleware 00003 // Copyright (C) 2004 Junpei Ohtani ( Email : junpee@users.sourceforge.jp ) 00004 // 00005 // This library is free software; you can redistribute it and/or 00006 // modify it under the terms of the GNU Lesser General Public 00007 // License as published by the Free Software Foundation; either 00008 // version 2.1 of the License, or (at your option) any later version. 00009 // 00010 // This library is distributed in the hope that it will be useful, 00011 // but WITHOUT ANY WARRANTY; without even the implied warranty of 00012 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00013 // Lesser General Public License for more details. 00014 // 00015 // You should have received a copy of the GNU Lesser General Public 00016 // License along with this library; if not, write to the Free Software 00017 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 00018 //------------------------------------------------------------------------------ 00019 00020 /** @file 00021 * コーン距離実装 00022 * @author Junpee 00023 */ 00024 00025 #include "LampBasic.h" 00026 #include "Geometry/Distance/ConeDistance.h" 00027 00028 namespace Lamp{ 00029 00030 //------------------------------------------------------------------------------ 00031 // 点 00032 //------------------------------------------------------------------------------ 00033 // 点距離の二乗 00034 float ConeDistance::squaredDistance(const Cone& cone, const Vector3& point){ 00035 Assert(false); 00036 return 0.f; 00037 } 00038 //------------------------------------------------------------------------------ 00039 // コーン 00040 //------------------------------------------------------------------------------ 00041 // コーン距離の二乗 00042 float ConeDistance::squaredDistance(const Cone& cone0, const Cone& cone1){ 00043 Assert(false); 00044 return 0.f; 00045 } 00046 //------------------------------------------------------------------------------ 00047 // ライン 00048 //------------------------------------------------------------------------------ 00049 // ライン距離の二乗 00050 float ConeDistance::squaredDistance(const Cone& cone, const Line& line){ 00051 Assert(false); 00052 return 0.f; 00053 } 00054 //------------------------------------------------------------------------------ 00055 // 指向性ボックス 00056 //------------------------------------------------------------------------------ 00057 // 指向性ボックス距離の二乗 00058 float ConeDistance::squaredDistance(const Cone& cone, const OrientedBox& ob){ 00059 Assert(false); 00060 return 0.f; 00061 } 00062 //------------------------------------------------------------------------------ 00063 // 平面 00064 //------------------------------------------------------------------------------ 00065 // 平面距離 00066 float ConeDistance::distance(const Cone& cone, const Plane& plane){ 00067 Assert(false); 00068 return 0.f; 00069 } 00070 //------------------------------------------------------------------------------ 00071 // レイ 00072 //------------------------------------------------------------------------------ 00073 // レイ距離の二乗 00074 float ConeDistance::squaredDistance(const Cone& cone, const Ray& ray){ 00075 Assert(false); 00076 return 0.f; 00077 } 00078 //------------------------------------------------------------------------------ 00079 // セグメント 00080 //------------------------------------------------------------------------------ 00081 // セグメント距離の二乗 00082 float ConeDistance::squaredDistance(const Cone& cone, const Segment& segment){ 00083 Assert(false); 00084 return 0.f; 00085 } 00086 //------------------------------------------------------------------------------ 00087 // 球 00088 //------------------------------------------------------------------------------ 00089 // 球距離の二乗 00090 float ConeDistance::squaredDistance(const Cone& cone, const Sphere& sphere){ 00091 Assert(false); 00092 return 0.f; 00093 } 00094 //------------------------------------------------------------------------------ 00095 // 三角 00096 //------------------------------------------------------------------------------ 00097 // 三角距離の二乗 00098 float ConeDistance::squaredDistance(const Cone& cone, const Triangle& triangle){ 00099 Assert(false); 00100 return 0.f; 00101 } 00102 //------------------------------------------------------------------------------ 00103 } // End of namespace Lamp 00104 //------------------------------------------------------------------------------