code cleanup: use vector math function minmax_v3v3_v3() and other minor vector function edits.

This commit is contained in:
2012-05-13 11:05:52 +00:00
parent 13bbf1cc7b
commit 305d341ec2
36 changed files with 186 additions and 198 deletions

View File

@@ -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);
}