Преглед изворни кода

Removed extra init of UV layer 0 for Sphere.

alteredq пре 14 година
родитељ
комит
0dd0b90e9f
1 измењених фајлова са 0 додато и 2 уклоњено
  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 ) {
 var Sphere = function ( radius, segmentsWidth, segmentsHeight ) {
 
 
 	THREE.Geometry.call( this );
 	THREE.Geometry.call( this );
-
-	this.faceVertexUvs[ 0 ] = [];
 	
 	
 	var gridX = segmentsWidth || 8,
 	var gridX = segmentsWidth || 8,
 	gridY = segmentsHeight || 6;
 	gridY = segmentsHeight || 6;