1
0
mirror of https://github.com/revarbat/BOSL2.git synced 2025-04-22 02:22:00 +02:00

Fixed staggered_sphere() default orientation.

This commit is contained in:
Revar Desmera 2019-04-26 14:20:03 -07:00
parent 2f290ca108
commit c6c5912114

@ -939,7 +939,7 @@ module spheroid(r=undef, d=undef, circum=false, orient=UP, anchor=CENTER)
// staggered_sphere(d=100, circum=true);
// Example: Standard Connectors
// staggered_sphere(d=40, circum=true) show_anchors();
module staggered_sphere(r=undef, d=undef, circum=false, orient=UP, anchor=CENTER) {
module staggered_sphere(r=undef, d=undef, circum=false, orient=ORIENT_Z, anchor=CENTER) {
r = get_radius(r=r, d=d, dflt=1);
sides = segs(r);
vsides = max(3, ceil(sides/2))+1;