diff options
author | Campbell Barton <ideasman42@gmail.com> | 2015-07-29 10:48:38 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2015-07-29 13:11:54 +0300 |
commit | 90655d06d410b831ff199cfc6f080004cf08ce8c (patch) | |
tree | 37e19fa57e0380ef6a42b69ec9271953c859b0fc /source/blender/blenlib/BLI_math_geom.h | |
parent | 792d66527b1d699e8faa3a2e7a22c4b4d5dd9baa (diff) |
Math Lib: add isect_tri_tri_epsilon_v3 function
Diffstat (limited to 'source/blender/blenlib/BLI_math_geom.h')
-rw-r--r-- | source/blender/blenlib/BLI_math_geom.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/source/blender/blenlib/BLI_math_geom.h b/source/blender/blenlib/BLI_math_geom.h index 8820b88b9ac..5124da4cd35 100644 --- a/source/blender/blenlib/BLI_math_geom.h +++ b/source/blender/blenlib/BLI_math_geom.h @@ -187,6 +187,11 @@ bool isect_ray_tri_threshold_v3(const float p1[3], const float d[3], const float v0[3], const float v1[3], const float v2[3], float *r_lambda, float r_uv[2], const float threshold); bool isect_ray_tri_epsilon_v3(const float p1[3], const float d[3], const float v0[3], const float v1[3], const float v2[3], float *r_lambda, float r_uv[2], const float epsilon); +bool isect_tri_tri_epsilon_v3( + const float t_a0[3], const float t_a1[3], const float t_a2[3], + const float t_b0[3], const float t_b1[3], const float t_b2[3], + float r_i1[3], float r_i2[3], + const float epsilon); /* point in polygon */ bool isect_point_poly_v2(const float pt[2], const float verts[][2], const unsigned int nr, const bool use_holes); |