Explorar o código

Reverting PlaneGeometry dependency change.

Mr.doob %!s(int64=11) %!d(string=hai) anos
pai
achega
ca07750a97
Modificáronse 1 ficheiros con 1 adicións e 2 borrados
  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 );