ソースを参照

Updated builds.

Mr.doob 3 年 前
コミット
3840ae0680
4 ファイル変更8 行追加69 行削除
  1. 3 21
      build/three.cjs
  2. 3 21
      build/three.js
  3. 0 0
      build/three.min.js
  4. 2 27
      build/three.module.js

+ 3 - 21
build/three.cjs

@@ -7,7 +7,7 @@
 
 Object.defineProperty(exports, '__esModule', { value: true });
 
-const REVISION = '142';
+const REVISION = '143dev';
 const MOUSE = {
 	LEFT: 0,
 	MIDDLE: 1,
@@ -2817,11 +2817,6 @@ class Quaternion {
 		this._w = w;
 	}
 
-	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
 		let x0 = src0[srcOffset0 + 0],
@@ -25117,20 +25112,14 @@ 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;
 			let bevelSize = options.bevelSize !== undefined ? options.bevelSize : bevelThickness - 0.1;
 			let bevelOffset = options.bevelOffset !== undefined ? options.bevelOffset : 0;
 			let bevelSegments = options.bevelSegments !== undefined ? options.bevelSegments : 3;
 			const extrudePath = options.extrudePath;
-			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;
-			} //
-
+			const uvgen = options.UVGenerator !== undefined ? options.UVGenerator : WorldUVGenerator; //
 
 			let extrudePts,
 					extrudeByPath = false;
@@ -30577,13 +30566,6 @@ class ObjectLoader extends Loader {
 			}
 		});
 	}
-	/* DEPRECATED */
-
-
-	setTexturePath(value) {
-		console.warn('THREE.ObjectLoader: .setTexturePath() has been renamed to .setResourcePath().');
-		return this.setResourcePath(value);
-	}
 
 }
 

+ 3 - 21
build/three.js

@@ -9,7 +9,7 @@
 	(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.THREE = {}));
 })(this, (function (exports) { 'use strict';
 
-	const REVISION = '142';
+	const REVISION = '143dev';
 	const MOUSE = {
 		LEFT: 0,
 		MIDDLE: 1,
@@ -2819,11 +2819,6 @@
 			this._w = w;
 		}
 
-		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
 			let x0 = src0[srcOffset0 + 0],
@@ -25119,20 +25114,14 @@
 
 				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;
 				let bevelSize = options.bevelSize !== undefined ? options.bevelSize : bevelThickness - 0.1;
 				let bevelOffset = options.bevelOffset !== undefined ? options.bevelOffset : 0;
 				let bevelSegments = options.bevelSegments !== undefined ? options.bevelSegments : 3;
 				const extrudePath = options.extrudePath;
-				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;
-				} //
-
+				const uvgen = options.UVGenerator !== undefined ? options.UVGenerator : WorldUVGenerator; //
 
 				let extrudePts,
 						extrudeByPath = false;
@@ -30579,13 +30568,6 @@
 				}
 			});
 		}
-		/* DEPRECATED */
-
-
-		setTexturePath(value) {
-			console.warn('THREE.ObjectLoader: .setTexturePath() has been renamed to .setResourcePath().');
-			return this.setResourcePath(value);
-		}
 
 	}
 

ファイルの差分が大きいため隠しています
+ 0 - 0
build/three.min.js


+ 2 - 27
build/three.module.js

@@ -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 = {

この差分においてかなりの量のファイルが変更されているため、一部のファイルを表示していません