diff options
author | Campbell Barton <ideasman42@gmail.com> | 2013-08-23 19:19:20 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2013-08-23 19:19:20 +0400 |
commit | 6f26acb00934594859cca09e9774b41a6c1a9e7c (patch) | |
tree | 5ce857f0dbf974ad9a1b1e1a549d35c592f17022 /source/blender/blenlib/BLI_math_geom.h | |
parent | 25ca7622386a1cb74b1745f1038fd71cd498a17c (diff) |
simplify dist_to_plane_v3 and add dist_squared_to_plane_v3
Diffstat (limited to 'source/blender/blenlib/BLI_math_geom.h')
-rw-r--r-- | source/blender/blenlib/BLI_math_geom.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/blenlib/BLI_math_geom.h b/source/blender/blenlib/BLI_math_geom.h index 383ab6b2533..02db0885163 100644 --- a/source/blender/blenlib/BLI_math_geom.h +++ b/source/blender/blenlib/BLI_math_geom.h @@ -81,6 +81,7 @@ float dist_squared_to_line_segment_v2(const float p[2], const float l1[2], const float dist_to_line_segment_v2(const float p[2], const float l1[2], const float l2[2]); void closest_to_line_segment_v2(float closest[2], const float p[2], const float l1[2], const float l2[2]); +float dist_squared_to_plane_v3(const float p[3], const float plane[4]); float dist_to_plane_v3(const float p[3], const float plane[4]); float dist_squared_to_line_segment_v3(const float p[3], const float l1[3], const float l2[3]); float dist_to_line_segment_v3(const float p[3], const float l1[3], const float l2[3]); |