Removed deprecations.

This commit is contained in:
Revar Desmera
2019-04-18 21:16:10 -07:00
parent 4759f21b3b
commit 08711565e7
5 changed files with 27 additions and 472 deletions

View File

@@ -889,9 +889,7 @@ function patch_scale(patch, v=[1,1,1], cp=[0,0,0]) = [for(row=patch) scale_point
// v = Vector axis to rotate round.
// cp = Centerpoint to rotate around.
function patch_rotate(patch, a=undef, v=undef, cp=[0,0,0]) =
v==undef?
[for(row=patch) rotate_points3d(row, a, cp)] :
[for(row=patch) rotate_points3d_around_axis(row, a, v, cp)];
[for(row=patch) rotate_points3d(row, v=a, axis=v, cp=cp)] :
// Function: patches_translate()