sub_v3_v3v3 --> sub_v3_v3 (where possible)

This commit is contained in:
2010-04-23 23:57:00 +00:00
parent 394537715d
commit 39c0e690d3
24 changed files with 82 additions and 88 deletions

View File

@@ -206,7 +206,7 @@ static void sphere_do(
if(flag & MOD_CAST_USE_OB_TRANSFORM) {
mul_m4_v3(mat, tmp_co);
} else {
sub_v3_v3v3(tmp_co, tmp_co, center);
sub_v3_v3(tmp_co, center);
}
}
@@ -261,7 +261,7 @@ static void sphere_do(
if(flag & MOD_CAST_USE_OB_TRANSFORM) {
mul_m4_v3(mat, tmp_co);
} else {
sub_v3_v3v3(tmp_co, tmp_co, center);
sub_v3_v3(tmp_co, center);
}
}
@@ -413,7 +413,7 @@ static void cuboid_do(
if(flag & MOD_CAST_USE_OB_TRANSFORM) {
mul_m4_v3(mat, tmp_co);
} else {
sub_v3_v3v3(tmp_co, tmp_co, center);
sub_v3_v3(tmp_co, center);
}
}