|
@@ -67,11 +67,13 @@ THREE.SphereGeometry = function ( radius, widthSegments, heightSegments, phiStar
|
|
|
|
|
|
if ( Math.abs( this.vertices[ v1 ].y ) === this.radius ) {
|
|
|
|
|
|
+ uv1.x = ( uv1.x + uv2.x ) / 2;
|
|
|
this.faces.push( new THREE.Face3( v1, v3, v4, [ n1, n3, n4 ] ) );
|
|
|
this.faceVertexUvs[ 0 ].push( [ uv1, uv3, uv4 ] );
|
|
|
|
|
|
} else if ( Math.abs( this.vertices[ v3 ].y ) === this.radius ) {
|
|
|
|
|
|
+ uv3.x = ( uv3.x + uv4.x ) / 2;
|
|
|
this.faces.push( new THREE.Face3( v1, v2, v3, [ n1, n2, n3 ] ) );
|
|
|
this.faceVertexUvs[ 0 ].push( [ uv1, uv2, uv3 ] );
|
|
|
|