diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-01-06 12:32:25 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-01-06 12:32:25 +0300 |
commit | 28e689b9aa0f716fa021a3185cb446a2fa69ec59 (patch) | |
tree | 9772fb477057e70af31c37abb4c4a51037ef3699 /source/blender/blenlib/BLI_math_geom.h | |
parent | 3ecacb56544a26738c9581ac8c082c0101d64ba4 (diff) |
bugfix [#25498] Projection paint clone tool leaves seams
Diffstat (limited to 'source/blender/blenlib/BLI_math_geom.h')
-rw-r--r-- | source/blender/blenlib/BLI_math_geom.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/blenlib/BLI_math_geom.h b/source/blender/blenlib/BLI_math_geom.h index 3c2c6312f4d..f8a4ee48c6f 100644 --- a/source/blender/blenlib/BLI_math_geom.h +++ b/source/blender/blenlib/BLI_math_geom.h @@ -58,7 +58,8 @@ float dist_to_line_v2(float p[2], float l1[2], float l2[2]); float dist_to_line_segment_v2(float p[2], float l1[2], float l2[2]); float dist_to_line_segment_v3(float p[3], float l1[3], float l2[3]); -float closest_to_line_v3(float r[3], float p[3], float l1[3], float l2[3]); +float closest_to_line_v3(float r[3], const float p[3], const float l1[3], const float l2[3]); +float closest_to_line_v2(float r[2], const float p[2], const float l1[2], const float l2[2]); void closest_to_line_segment_v3(float r[3], float p[3], float l1[3], float l2[3]); /******************************* Intersection ********************************/ |