diff options
author | Campbell Barton <ideasman42@gmail.com> | 2015-11-12 23:25:36 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2015-11-12 23:48:05 +0300 |
commit | a7ac59414b8a9fee2fd7a9b8c39099f89239771d (patch) | |
tree | 70289cd6d50009e6930962d48c55777a87951276 /source/blender/blenlib/intern/rct.c | |
parent | 930771d0cf6bf296b42849b675a1e0c52d04c003 (diff) |
Cleanup: rename line to segments, avoids confusion
Differentiate between lines and segments.
Diffstat (limited to 'source/blender/blenlib/intern/rct.c')
-rw-r--r-- | source/blender/blenlib/intern/rct.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenlib/intern/rct.c b/source/blender/blenlib/intern/rct.c index a5f7fe2a008..9d5a4630f68 100644 --- a/source/blender/blenlib/intern/rct.c +++ b/source/blender/blenlib/intern/rct.c @@ -173,7 +173,7 @@ bool BLI_rcti_inside_rcti(rcti *rct_a, const rcti *rct_b) } -/* based closely on 'isect_line_line_v2_int', but in modified so corner cases are treated as intersections */ +/* based closely on 'isect_seg_seg_v2_int', but in modified so corner cases are treated as intersections */ static int isect_segments_i(const int v1[2], const int v2[2], const int v3[2], const int v4[2]) { const double div = (double)((v2[0] - v1[0]) * (v4[1] - v3[1]) - (v2[1] - v1[1]) * (v4[0] - v3[0])); |