Parcourir la source

Reverting PlaneGeometry dependency change.

Mr.doob il y a 11 ans
Parent
commit
ca07750a97
1 fichiers modifiés avec 1 ajouts et 2 suppressions
  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 );