raytri.h
Go to the documentation of this file.
00001 #ifndef RAY_TRI_H
00002 
00003 #define RAY_TRI_H
00004 
00060 namespace ConvexDecomposition
00061 {
00062 
00063 // returns true if the ray intersects the triangle.
00064 bool lineIntersectsTriangle(const double *rayStart,const double *rayEnd,const double *p1,const double *p2,const double *p3,double *sect);
00065 bool rayIntersectsTriangle(const double *p,const double *d,const double *v0,const double *v1,const double *v2,double &t);
00066 
00067 };
00068 
00069 #endif


convex_decomposition
Author(s): John W. Ratcliff
autogenerated on Thu Feb 11 2016 22:42:23