浏览代码

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 );