|
@@ -72,7 +72,7 @@ class ExtrudeGeometry extends BufferGeometry {
|
|
|
|
|
|
const curveSegments = options.curveSegments !== undefined ? options.curveSegments : 12;
|
|
|
const steps = options.steps !== undefined ? options.steps : 1;
|
|
|
- let depth = options.depth !== undefined ? options.depth : 1;
|
|
|
+ const depth = options.depth !== undefined ? options.depth : 1;
|
|
|
|
|
|
let bevelEnabled = options.bevelEnabled !== undefined ? options.bevelEnabled : true;
|
|
|
let bevelThickness = options.bevelThickness !== undefined ? options.bevelThickness : 0.2;
|
|
@@ -84,15 +84,6 @@ class ExtrudeGeometry extends BufferGeometry {
|
|
|
|
|
|
const uvgen = options.UVGenerator !== undefined ? options.UVGenerator : WorldUVGenerator;
|
|
|
|
|
|
- // deprecated options
|
|
|
-
|
|
|
- if ( options.amount !== undefined ) {
|
|
|
-
|
|
|
- console.warn( 'THREE.ExtrudeBufferGeometry: amount has been renamed to depth.' );
|
|
|
- depth = options.amount;
|
|
|
-
|
|
|
- }
|
|
|
-
|
|
|
//
|
|
|
|
|
|
let extrudePts, extrudeByPath = false;
|