raytri.h
Go to the documentation of this file.
1 #ifndef RAY_TRI_H
2 
3 #define RAY_TRI_H
4 
60 namespace ConvexDecomposition
61 {
62 
63 // returns true if the ray intersects the triangle.
64 bool lineIntersectsTriangle(const double *rayStart,const double *rayEnd,const double *p1,const double *p2,const double *p3,double *sect);
65 bool rayIntersectsTriangle(const double *p,const double *d,const double *v0,const double *v1,const double *v2,double &t);
66 
67 };
68 
69 #endif
bool rayIntersectsTriangle(const double *p, const double *d, const double *v0, const double *v1, const double *v2, double &t)
Definition: raytri.cpp:87
bool lineIntersectsTriangle(const double *rayStart, const double *rayEnd, const double *p1, const double *p2, const double *p3, double *sect)
Definition: raytri.cpp:123


convex_decomposition
Author(s): John W. Ratcliff
autogenerated on Mon Feb 28 2022 22:06:34