diff options
author | Miika Hamalainen <blender@miikah.org> | 2011-10-28 18:46:09 +0400 |
---|---|---|
committer | Miika Hamalainen <blender@miikah.org> | 2011-10-28 18:46:09 +0400 |
commit | fae903e263fd11d788a4e55900ff25f4fc8b26db (patch) | |
tree | 28315139a473093c9e697e5dfb111688cfd1c995 /source/blender/blenlib/intern/math_geom.c | |
parent | e441c71f770446c942362a3c75b453159b15c0d1 (diff) |
Dynamic Paint:
* More code changes pointed by Brecht in codereview.
* Some user interface improvements.
* Updating brush settings now also updates canvas preview.
Diffstat (limited to 'source/blender/blenlib/intern/math_geom.c')
-rw-r--r-- | source/blender/blenlib/intern/math_geom.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenlib/intern/math_geom.c b/source/blender/blenlib/intern/math_geom.c index d0e86c44edb..05b90eed4ab 100644 --- a/source/blender/blenlib/intern/math_geom.c +++ b/source/blender/blenlib/intern/math_geom.c @@ -210,7 +210,7 @@ float dist_to_line_segment_v2(const float v1[2], const float v2[2], const float } /* point closest to v1 on line v2-v3 in 2D */ -void closest_to_line_segment_v2(float *closest, float p[2], float l1[2], 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 lambda, cp[2]; |