Browse Source

Updated builds.

alteredq 12 years ago
parent
commit
ad97cdea43
2 changed files with 213 additions and 212 deletions
  1. 3 2
      build/three.js
  2. 210 210
      build/three.min.js

+ 3 - 2
build/three.js

@@ -30030,7 +30030,7 @@ THREE.ExtrudeGeometry.prototype.addShape = function ( shape, options ) {
 
 
 	var shapesOffset = this.vertices.length;
 	var shapesOffset = this.vertices.length;
 
 
-	var shapePoints = shape.extractPoints();
+	var shapePoints = shape.extractPoints( curveSegments );
 
 
 	var vertices = shapePoints.shape;
 	var vertices = shapePoints.shape;
 	var holes = shapePoints.holes;
 	var holes = shapePoints.holes;
@@ -30681,6 +30681,7 @@ THREE.ShapeGeometry.prototype.addShapeList = function ( shapes, options ) {
 THREE.ShapeGeometry.prototype.addShape = function ( shape, options ) {
 THREE.ShapeGeometry.prototype.addShape = function ( shape, options ) {
 
 
 	if ( options === undefined ) options = {};
 	if ( options === undefined ) options = {};
+	var curveSegments = options.curveSegments !== undefined ? options.curveSegments : 12;
 
 
 	var material = options.material;
 	var material = options.material;
 	var uvgen = options.UVGenerator === undefined ? THREE.ExtrudeGeometry.WorldUVGenerator : options.UVGenerator;
 	var uvgen = options.UVGenerator === undefined ? THREE.ExtrudeGeometry.WorldUVGenerator : options.UVGenerator;
@@ -30692,7 +30693,7 @@ THREE.ShapeGeometry.prototype.addShape = function ( shape, options ) {
 	var i, l, hole, s;
 	var i, l, hole, s;
 
 
 	var shapesOffset = this.vertices.length;
 	var shapesOffset = this.vertices.length;
-	var shapePoints = shape.extractPoints();
+	var shapePoints = shape.extractPoints( curveSegments );
 
 
 	var vertices = shapePoints.shape;
 	var vertices = shapePoints.shape;
 	var holes = shapePoints.holes;
 	var holes = shapePoints.holes;

File diff suppressed because it is too large
+ 210 - 210
build/three.min.js


Some files were not shown because too many files changed in this diff