diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-05-13 15:05:52 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-05-13 15:05:52 +0400 |
commit | 305d341ec2c2c5c6485ad6cd719e9472e4bb460d (patch) | |
tree | fa4c658ad417869a0ed2e7ef5f37ca94adb2cc3b /source/blender/bmesh/operators/bmo_removedoubles.c | |
parent | 13bbf1cc7b0a620173475172278d2f8eb9593ccd (diff) |
code cleanup: use vector math function minmax_v3v3_v3() and other minor vector function edits.
Diffstat (limited to 'source/blender/bmesh/operators/bmo_removedoubles.c')
-rw-r--r-- | source/blender/bmesh/operators/bmo_removedoubles.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/bmesh/operators/bmo_removedoubles.c b/source/blender/bmesh/operators/bmo_removedoubles.c index 8060c3b5142..52c693efc84 100644 --- a/source/blender/bmesh/operators/bmo_removedoubles.c +++ b/source/blender/bmesh/operators/bmo_removedoubles.c @@ -396,8 +396,8 @@ void bmo_collapse_exec(BMesh *bm, BMOperator *op) BLI_array_grow_one(edges); edges[tot] = e; - DO_MINMAX(e->v1->co, min, max); - DO_MINMAX(e->v2->co, min, max); + minmax_v3v3_v3(min, max, e->v1->co); + minmax_v3v3_v3(min, max, e->v2->co); } add_v3_v3v3(min, min, max); |