|
@@ -3,7 +3,7 @@
|
|
|
* Copyright 2010-2022 Three.js Authors
|
|
|
* SPDX-License-Identifier: MIT
|
|
|
*/
|
|
|
-const REVISION = '142';
|
|
|
+const REVISION = '143dev';
|
|
|
const MOUSE = { LEFT: 0, MIDDLE: 1, RIGHT: 2, ROTATE: 0, DOLLY: 1, PAN: 2 };
|
|
|
const TOUCH = { ROTATE: 0, PAN: 1, DOLLY_PAN: 2, DOLLY_ROTATE: 3 };
|
|
|
const CullFaceNone = 0;
|
|
@@ -3617,13 +3617,6 @@ class Quaternion {
|
|
|
|
|
|
}
|
|
|
|
|
|
- static slerp( qa, qb, qm, t ) {
|
|
|
-
|
|
|
- console.warn( 'THREE.Quaternion: Static .slerp() has been deprecated. Use qm.slerpQuaternions( qa, qb, t ) instead.' );
|
|
|
- return qm.slerpQuaternions( qa, qb, t );
|
|
|
-
|
|
|
- }
|
|
|
-
|
|
|
static slerpFlat( dst, dstOffset, src0, srcOffset0, src1, srcOffset1, t ) {
|
|
|
|
|
|
// fuzz-free, array-based Quaternion SLERP operation
|
|
@@ -34648,7 +34641,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;
|
|
@@ -34660,15 +34653,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;
|
|
@@ -42657,15 +42641,6 @@ class ObjectLoader extends Loader {
|
|
|
|
|
|
}
|
|
|
|
|
|
- /* DEPRECATED */
|
|
|
-
|
|
|
- setTexturePath( value ) {
|
|
|
-
|
|
|
- console.warn( 'THREE.ObjectLoader: .setTexturePath() has been renamed to .setResourcePath().' );
|
|
|
- return this.setResourcePath( value );
|
|
|
-
|
|
|
- }
|
|
|
-
|
|
|
}
|
|
|
|
|
|
const TEXTURE_MAPPING = {
|