diff options
author | Germano <germano.costa@ig.com.br> | 2018-05-15 20:10:41 +0300 |
---|---|---|
committer | Germano <germano.costa@ig.com.br> | 2018-05-15 20:10:41 +0300 |
commit | 439ccd27e6a454c716404efa55b4c750c13f2549 (patch) | |
tree | c76804ab1c8dfe217115a28d7d377ee8ea1faef3 /source/blender/blenlib/BLI_math_geom.h | |
parent | ca028f1387218a9d80c2fe406a05191e7e4b90d8 (diff) |
BLI_math: Added isect_point_planes_v3_negated function.
Diffstat (limited to 'source/blender/blenlib/BLI_math_geom.h')
-rw-r--r-- | source/blender/blenlib/BLI_math_geom.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/blenlib/BLI_math_geom.h b/source/blender/blenlib/BLI_math_geom.h index 940e22b144a..111450b6402 100644 --- a/source/blender/blenlib/BLI_math_geom.h +++ b/source/blender/blenlib/BLI_math_geom.h @@ -244,6 +244,9 @@ bool isect_ray_plane_v3( float *r_lambda, const bool clip); bool isect_point_planes_v3(float (*planes)[4], int totplane, const float p[3]); +bool isect_point_planes_v3_negated( + const float (*planes)[4], const int totplane, const float p[3]); + bool isect_line_plane_v3( float r_isect_co[3], const float l1[3], const float l2[3], const float plane_co[3], const float plane_no[3]) ATTR_WARN_UNUSED_RESULT; |