Преглед на файлове

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.PlaneGeometry.prototype = Object.create( THREE.Geometry.prototype );
+THREE.PlaneGeometry.prototype = Object.create( THREE.IndexedGeometry2.prototype );