Переглянути джерело

Reverting PlaneGeometry dependency change.

Mr.doob 11 роки тому
батько
коміт
ca07750a97
1 змінених файлів з 1 додано та 2 видалено
  1. 1 2
      src/extras/geometries/PlaneGeometry.js

+ 1 - 2
src/extras/geometries/PlaneGeometry.js

@@ -81,9 +81,8 @@ THREE.PlaneGeometry = function ( width, height, widthSegments, heightSegments )
 
 
 	}
 	}
 
 
-	THREE.Geometry.call( this );
 	THREE.IndexedGeometry2.call( this, indices, vertices, normals, uvs );
 	THREE.IndexedGeometry2.call( this, indices, vertices, normals, uvs );
 
 
 };
 };
 
 
-THREE.PlaneGeometry.prototype = Object.create( THREE.Geometry.prototype );
+THREE.PlaneGeometry.prototype = Object.create( THREE.IndexedGeometry2.prototype );