Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022 #ifndef OZCOLLIDE_INTERSECTION_BOXTRI_H
00023 #define OZCOLLIDE_INTERSECTION_BOXTRI_H
00024
00025 #ifndef OZCOLLIDE_PCH
00026 #include <ozcollide/ozcollide.h>
00027 #endif
00028
00029 ENTER_NAMESPACE_OZCOLLIDE
00030
00031 class Polygon;
00032 class Vec3f;
00033 class Box;
00034 class OBB;
00035
00048 OZCOLLIDE_API bool testIntersectionTriBox( const Vec3f *pts,
00049 const Box &);
00050
00058 OZCOLLIDE_API bool testIntersectionTriBox( const Polygon &,
00059 const Vec3f *pnts,
00060 const Box &);
00061
00069 OZCOLLIDE_API bool testIntersectionTriOBB( const Polygon &,
00070 const Vec3f *pnts,
00071 const OBB &);
00072
00076 OZCOLLIDE_API bool magic_testIntersectionTriBox(const Vec3f *apkTri[3],
00077 const Box &rkBox);
00078
00082 OZCOLLIDE_API bool magic_testIntersectionTriBox(const Vec3f *apkTri[3],
00083 const Box &rkBox,
00084 const Vec3f &rkBoxVel,
00085 float fTMax,
00086 float &rfTFirst,
00087 float &rfTLast);
00088
00092 OZCOLLIDE_API bool testIntersectionTriBox( const Vec3f *tri_pts[3],
00093 const Vec3f &tri_normal,
00094 const Box &box,
00095 const Vec3f &box_vel,
00096 float &dist_travel,
00097 Vec3f &reaction);
00098
00099 LEAVE_NAMESPACE
00100
00101 #endif