diff options
author | mano-wii <germano.costa@ig.com.br> | 2019-07-23 07:50:59 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-07-23 07:56:49 +0300 |
commit | 6e72d3e00e4ac5b6750f6add5e69664e65779fe5 (patch) | |
tree | ef6c53fc691594cba36c312ee1a886efcb2ae921 /source/blender/blenlib/BLI_math_geom.h | |
parent | 0a0e2dd8a2ce002b76d834c621766e8da3f1b678 (diff) |
Fix T67389: Transform constraints fail at large distances
Diffstat (limited to 'source/blender/blenlib/BLI_math_geom.h')
-rw-r--r-- | source/blender/blenlib/BLI_math_geom.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/source/blender/blenlib/BLI_math_geom.h b/source/blender/blenlib/BLI_math_geom.h index 484d5af194d..d5485765844 100644 --- a/source/blender/blenlib/BLI_math_geom.h +++ b/source/blender/blenlib/BLI_math_geom.h @@ -302,6 +302,13 @@ bool isect_line_line_strict_v3(const float v1[3], float vi[3], float *r_lambda); +bool isect_ray_ray_v3(const float ray_origin_a[3], + const float ray_direction_a[3], + const float ray_origin_b[3], + const float ray_direction_b[3], + float *r_lambda_a, + float *r_lambda_b); + bool isect_ray_plane_v3(const float ray_origin[3], const float ray_direction[3], const float plane[4], |