Commit 770f22cd authored by Will Schroeder's avatar Will Schroeder
Browse files

ENH: Added PointInTriangle method to support collision detection

parent 8bbcb53a
......@@ -96,8 +96,8 @@ public:
float v1[2], float v2[2], float v3[2]);
static void ComputeNormal(vtkPoints *p, int numPts, int *pts, float n[3]);
static void ComputeNormal(float v1[3], float v2[3], float v3[3], float n[3]);
int PointInTriangle(float x[3], float x1[3], float x2[3], float x3[3],
float tol2);
static int PointInTriangle(float x[3], float x1[3], float x2[3], float x3[3],
float tol2);
};
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment