sub_v3_v3v3 --> sub_v3_v3 (where possible)
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user