Fixes #131
This commit is contained in:
parent
ebf2e031c6
commit
d64128705f
1 changed files with 14 additions and 14 deletions
|
@ -354,28 +354,28 @@ Drone.extend( 'hemisphere0', function( block, radius, northSouth ) {
|
||||||
if ( northSouth == 'north' ) {
|
if ( northSouth == 'north' ) {
|
||||||
// northern hemisphere
|
// northern hemisphere
|
||||||
this.up( v )
|
this.up( v )
|
||||||
.fwd( h )
|
.fwd( h )
|
||||||
.right( h );
|
.right( h );
|
||||||
|
|
||||||
//this.cylinder( block, sr, sh, { blockType: bm[0], meta: bm[1] } );
|
//this.cylinder( block, sr, sh, { blockType: bm[0], meta: bm[1] } );
|
||||||
this.arc( {
|
this.arc( {
|
||||||
blockType: bm[0],
|
blockType: bm[0],
|
||||||
meta: bm[1],
|
meta: bm[1],
|
||||||
radius: sr,
|
radius: sr,
|
||||||
stack: sh,
|
stack: sh,
|
||||||
fill: false,
|
fill: false,
|
||||||
strokeWidth: i < len - 1 ? 1 + ( sr - slices[ i + 1 ][ 0 ] ) : 1
|
strokeWidth: i < len - 1 ? 1 + ( sr - slices[ i + 1 ][ 0 ] ) : 1
|
||||||
} );
|
} );
|
||||||
|
|
||||||
this.left( h )
|
this.left( h )
|
||||||
.back( h )
|
.back( h )
|
||||||
.down( v );
|
.down( v );
|
||||||
} else {
|
} else {
|
||||||
// southern hemisphere
|
// southern hemisphere
|
||||||
v = radius - ( yOffset + sh + 1 );
|
v = radius - ( yOffset + sh + 1 );
|
||||||
this.up( v )
|
this.up( v )
|
||||||
.fwd( h )
|
.fwd( h )
|
||||||
.right( h );
|
.right( h );
|
||||||
|
|
||||||
//this.cylinder( block, sr, sh, { blockType: bm[0], meta: bm[1] } );
|
//this.cylinder( block, sr, sh, { blockType: bm[0], meta: bm[1] } );
|
||||||
this.arc({
|
this.arc({
|
||||||
|
@ -388,8 +388,8 @@ Drone.extend( 'hemisphere0', function( block, radius, northSouth ) {
|
||||||
});
|
});
|
||||||
|
|
||||||
this.left( h )
|
this.left( h )
|
||||||
.back( h )
|
.back( h )
|
||||||
.down( v );
|
.down( v );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return this.move( 'hsphere0' );
|
return this.move( 'hsphere0' );
|
||||||
|
|
Reference in a new issue