浏览代码

Update ShapeGeometry.js

gero3 11 年之前
父节点
当前提交
fc884b65b2
共有 1 个文件被更改,包括 0 次插入4 次删除
  1. 0 4
      src/extras/geometries/ShapeGeometry.js

+ 0 - 4
src/extras/geometries/ShapeGeometry.js

@@ -20,8 +20,6 @@ THREE.ShapeGeometry = function ( shapes, options ) {
 
 	if ( shapes instanceof Array === false ) shapes = [ shapes ];
 
-	this.shapebb = shapes[ shapes.length - 1 ].getBoundingBox();
-
 	this.addShapeList( shapes, options );
 
 	this.computeFaceNormals();
@@ -56,8 +54,6 @@ THREE.ShapeGeometry.prototype.addShape = function ( shape, options ) {
 	var material = options.material;
 	var uvgen = options.UVGenerator === undefined ? THREE.ExtrudeGeometry.WorldUVGenerator : options.UVGenerator;
 
-	var shapebb = this.shapebb;
-
 	//
 
 	var i, l, hole, s;