diff --git a/primitives.scad b/primitives.scad index 5d749c7..f8bb848 100644 --- a/primitives.scad +++ b/primitives.scad @@ -397,7 +397,7 @@ function sphere(r, d, circum=false, style="orig", anchor=CENTER, spin=0, orient= faces = style=="orig"? [ [for (i=[0:1:hsides-1]) hsides-i-1], [for (i=[0:1:hsides-1]) lv-hsides+i], - for (i=[0:1:vsides-1], j=[0:1:hsides-1]) each [ + for (i=[0:1:vsides-2], j=[0:1:hsides-1]) each [ [(i+1)*hsides+j, i*hsides+j, i*hsides+(j+1)%hsides], [(i+1)*hsides+j, i*hsides+(j+1)%hsides, (i+1)*hsides+(j+1)%hsides], ] diff --git a/version.scad b/version.scad index 8e76910..c0316d3 100644 --- a/version.scad +++ b/version.scad @@ -8,7 +8,7 @@ ////////////////////////////////////////////////////////////////////// -BOSL_VERSION = [2,0,276]; +BOSL_VERSION = [2,0,277]; // Section: BOSL Library Version Functions