Browse Source

Removed extra init of UV layer 0 for Sphere.

alteredq 14 năm trước cách đây
mục cha
commit
0dd0b90e9f
1 tập tin đã thay đổi với 0 bổ sung2 xóa
  1. 0 2
      src/extras/geometries/Sphere.js

+ 0 - 2
src/extras/geometries/Sphere.js

@@ -6,8 +6,6 @@
 var Sphere = function ( radius, segmentsWidth, segmentsHeight ) {
 
 	THREE.Geometry.call( this );
-
-	this.faceVertexUvs[ 0 ] = [];
 	
 	var gridX = segmentsWidth || 8,
 	gridY = segmentsHeight || 6;