From d64128705fde660f09a3bde634bc6769a4c84e29 Mon Sep 17 00:00:00 2001 From: walterhiggins Date: Sun, 16 Mar 2014 21:25:37 +0000 Subject: [PATCH] Fixes #131 --- src/main/js/plugins/drone/sphere.js | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/src/main/js/plugins/drone/sphere.js b/src/main/js/plugins/drone/sphere.js index 4af3907..7c99735 100644 --- a/src/main/js/plugins/drone/sphere.js +++ b/src/main/js/plugins/drone/sphere.js @@ -354,28 +354,28 @@ Drone.extend( 'hemisphere0', function( block, radius, northSouth ) { if ( northSouth == 'north' ) { // northern hemisphere this.up( v ) - .fwd( h ) - .right( h ); + .fwd( h ) + .right( h ); //this.cylinder( block, sr, sh, { blockType: bm[0], meta: bm[1] } ); this.arc( { - blockType: bm[0], - meta: bm[1], - radius: sr, - stack: sh, - fill: false, - strokeWidth: i < len - 1 ? 1 + ( sr - slices[ i + 1 ][ 0 ] ) : 1 + blockType: bm[0], + meta: bm[1], + radius: sr, + stack: sh, + fill: false, + strokeWidth: i < len - 1 ? 1 + ( sr - slices[ i + 1 ][ 0 ] ) : 1 } ); this.left( h ) - .back( h ) - .down( v ); + .back( h ) + .down( v ); } else { // southern hemisphere v = radius - ( yOffset + sh + 1 ); this.up( v ) - .fwd( h ) - .right( h ); + .fwd( h ) + .right( h ); //this.cylinder( block, sr, sh, { blockType: bm[0], meta: bm[1] } ); this.arc({ @@ -388,8 +388,8 @@ Drone.extend( 'hemisphere0', function( block, radius, northSouth ) { }); this.left( h ) - .back( h ) - .down( v ); + .back( h ) + .down( v ); } } return this.move( 'hsphere0' );