Wm4Intersector.cpp
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017 #include "Wm4FoundationPCH.h"
00018 #include "Wm4Intersector.h"
00019
00020 namespace Wm4
00021 {
00022
00023 template <class Real, class TVector>
00024 Intersector<Real,TVector>::Intersector ()
00025 {
00026 m_fContactTime = (Real)0.0;
00027 m_iIntersectionType = IT_EMPTY;
00028 }
00029
00030 template <class Real, class TVector>
00031 Intersector<Real,TVector>::~Intersector ()
00032 {
00033 }
00034
00035 template <class Real, class TVector>
00036 Real Intersector<Real,TVector>::GetContactTime () const
00037 {
00038 return m_fContactTime;
00039 }
00040
00041 template <class Real, class TVector>
00042 int Intersector<Real,TVector>::GetIntersectionType () const
00043 {
00044 return m_iIntersectionType;
00045 }
00046
00047 template <class Real, class TVector>
00048 bool Intersector<Real,TVector>::Test ()
00049 {
00050
00051 assert(false);
00052 return false;
00053 }
00054
00055 template <class Real, class TVector>
00056 bool Intersector<Real,TVector>::Find ()
00057 {
00058
00059 assert(false);
00060 return false;
00061 }
00062
00063 template <class Real, class TVector>
00064 bool Intersector<Real,TVector>::Test (Real, const TVector&, const TVector&)
00065 {
00066
00067 assert(false);
00068 return false;
00069 }
00070
00071 template <class Real, class TVector>
00072 bool Intersector<Real,TVector>::Find (Real, const TVector&, const TVector&)
00073 {
00074
00075 assert(false);
00076 return false;
00077 }
00078
00079
00080
00081
00082
00083 template WM4_FOUNDATION_ITEM
00084 class Intersector<float,Vector2f>;
00085
00086 template WM4_FOUNDATION_ITEM
00087 class Intersector<float,Vector3f>;
00088
00089 template WM4_FOUNDATION_ITEM
00090 class Intersector<double,Vector2d>;
00091
00092 template WM4_FOUNDATION_ITEM
00093 class Intersector<double,Vector3d>;
00094
00095 }