code cleanup: use vector math function minmax_v3v3_v3() and other minor vector function edits.
This commit is contained in:
@@ -114,7 +114,7 @@ static void calc_tw_center(Scene *scene, float *co)
|
||||
float *min= scene->twmin;
|
||||
float *max= scene->twmax;
|
||||
|
||||
DO_MINMAX(co, min, max);
|
||||
minmax_v3v3_v3(min, max, co);
|
||||
add_v3_v3(twcent, co);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user