Preserve original argument ordering

This commit is contained in:
Joseph Lenox 2020-01-04 21:48:38 -06:00
parent f70e19e206
commit bf2d04c279

View file

@ -2,7 +2,7 @@
// This file is licensed under the terms of Creative Commons Attribution 3.0 Unported. // This file is licensed under the terms of Creative Commons Attribution 3.0 Unported.
// Using this holes should come out approximately right when printed // Using this holes should come out approximately right when printed
module polyhole(h, r=0, d=0, center=false) { module polyhole(h, d=0, r=0, center=false) {
_r = (r == 0 ? d / 2 : r); _r = (r == 0 ? d / 2 : r);
_d = (d == 0 ? r * 2 : d); _d = (d == 0 ? r * 2 : d);