diff options
author | Campbell Barton <ideasman42@gmail.com> | 2014-08-16 09:13:11 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2014-08-16 09:13:11 +0400 |
commit | c47a01da11b42df849ba0881c577d020c8eb0b44 (patch) | |
tree | afb3c3cd7fb749f761fa49fefc05b10f39c980ca /source/blender/blenlib/BLI_math_geom.h | |
parent | 88ee650263cb8f0670a9d3837f43325009b55115 (diff) |
Math Lib: add isect_line_line_epsilon_v3
Diffstat (limited to 'source/blender/blenlib/BLI_math_geom.h')
-rw-r--r-- | source/blender/blenlib/BLI_math_geom.h | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/source/blender/blenlib/BLI_math_geom.h b/source/blender/blenlib/BLI_math_geom.h index d3158ef7926..81ca2908619 100644 --- a/source/blender/blenlib/BLI_math_geom.h +++ b/source/blender/blenlib/BLI_math_geom.h @@ -130,9 +130,14 @@ int isect_line_sphere_v2(const float l1[2], const float l2[2], const float sp[2] int isect_seg_seg_v2_point(const float v1[2], const float v2[2], const float v3[2], const float v4[2], float vi[2]); bool isect_seg_seg_v2(const float v1[2], const float v2[2], const float v3[2], const float v4[2]); -int isect_line_line_v3(const float v1[3], const float v2[3], - const float v3[3], const float v4[3], - float i1[3], float i2[3]); +int isect_line_line_epsilon_v3( + const float v1[3], const float v2[3], + const float v3[3], const float v4[3], float i1[3], float i2[3], + const float epsilon); +int isect_line_line_v3( + const float v1[3], const float v2[3], + const float v3[3], const float v4[3], + float i1[3], float i2[3]); bool isect_line_line_strict_v3(const float v1[3], const float v2[3], const float v3[3], const float v4[3], float vi[3], float *r_lambda); |