diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-08-05 18:11:51 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-08-05 18:11:51 +0400 |
commit | 0a35e050f3139a55e98f17c88875d76f433e371a (patch) | |
tree | 70e7afa5e6476a7346f38453f3647b1013e1f3b4 /source/blender/blenlib/intern | |
parent | 9ddbd8329e51582a0a5a1e6e397d2f75e5e9c0d6 (diff) |
code cleanup: remove redundant calls to CTX_data_main()
Diffstat (limited to 'source/blender/blenlib/intern')
-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 f3b047130f2..5d3a658b206 100644 --- a/source/blender/blenlib/intern/math_geom.c +++ b/source/blender/blenlib/intern/math_geom.c @@ -430,7 +430,7 @@ int isect_seg_seg_v2(const float v1[2], const float v2[2], const float v3[2], co { #define CCW(A, B, C) ((C[1] - A[1]) * (B[0] - A[0]) > (B[1]-A[1]) * (C[0]-A[0])) - return CCW(v1, v3, v4) != CCW(v2, v3, v4) && CCW(v1, v2, v3) != CCW(v1, v2, v4); + return CCW(v1, v3, v4) != CCW(v2, v3, v4) && CCW(v1, v2, v3) != CCW(v1, v2, v4); #undef CCW } |