Kaynağa Gözat

Updated builds.

Mr.doob 2 yıl önce
ebeveyn
işleme
cd9220750b
4 değiştirilmiş dosya ile 13 ekleme ve 13 silme
  1. 4 4
      build/three.cjs
  2. 4 4
      build/three.js
  3. 0 0
      build/three.min.js
  4. 5 5
      build/three.module.js

+ 4 - 4
build/three.cjs

@@ -7,7 +7,7 @@
 
 Object.defineProperty(exports, '__esModule', { value: true });
 
-const REVISION = '147';
+const REVISION = '148dev';
 const MOUSE = {
 	LEFT: 0,
 	MIDDLE: 1,
@@ -6145,7 +6145,7 @@ class MeshBasicMaterial extends Material {
 const _vector$9 = /*@__PURE__*/new Vector3();
 const _vector2$1 = /*@__PURE__*/new Vector2();
 class BufferAttribute {
-	constructor(array, itemSize, normalized) {
+	constructor(array, itemSize, normalized = false) {
 		if (Array.isArray(array)) {
 			throw new TypeError('THREE.BufferAttribute: array should be a Typed Array.');
 		}
@@ -6154,7 +6154,7 @@ class BufferAttribute {
 		this.array = array;
 		this.itemSize = itemSize;
 		this.count = array !== undefined ? array.length / itemSize : 0;
-		this.normalized = normalized === true;
+		this.normalized = normalized;
 		this.usage = StaticDrawUsage;
 		this.updateRange = {
 			offset: 0,
@@ -19002,7 +19002,7 @@ class InterleavedBufferAttribute {
 		this.data = interleavedBuffer;
 		this.itemSize = itemSize;
 		this.offset = offset;
-		this.normalized = normalized === true;
+		this.normalized = normalized;
 	}
 	get count() {
 		return this.data.count;

+ 4 - 4
build/three.js

@@ -9,7 +9,7 @@
 	(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.THREE = {}));
 })(this, (function (exports) { 'use strict';
 
-	const REVISION = '147';
+	const REVISION = '148dev';
 	const MOUSE = {
 		LEFT: 0,
 		MIDDLE: 1,
@@ -6147,7 +6147,7 @@
 	const _vector$9 = /*@__PURE__*/new Vector3();
 	const _vector2$1 = /*@__PURE__*/new Vector2();
 	class BufferAttribute {
-		constructor(array, itemSize, normalized) {
+		constructor(array, itemSize, normalized = false) {
 			if (Array.isArray(array)) {
 				throw new TypeError('THREE.BufferAttribute: array should be a Typed Array.');
 			}
@@ -6156,7 +6156,7 @@
 			this.array = array;
 			this.itemSize = itemSize;
 			this.count = array !== undefined ? array.length / itemSize : 0;
-			this.normalized = normalized === true;
+			this.normalized = normalized;
 			this.usage = StaticDrawUsage;
 			this.updateRange = {
 				offset: 0,
@@ -19004,7 +19004,7 @@
 			this.data = interleavedBuffer;
 			this.itemSize = itemSize;
 			this.offset = offset;
-			this.normalized = normalized === true;
+			this.normalized = normalized;
 		}
 		get count() {
 			return this.data.count;

Dosya farkı çok büyük olduğundan ihmal edildi
+ 0 - 0
build/three.min.js


+ 5 - 5
build/three.module.js

@@ -3,7 +3,7 @@
  * Copyright 2010-2022 Three.js Authors
  * SPDX-License-Identifier: MIT
  */
-const REVISION = '147';
+const REVISION = '148dev';
 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;
@@ -9259,7 +9259,7 @@ const _vector2$1 = /*@__PURE__*/ new Vector2();
 
 class BufferAttribute {
 
-	constructor( array, itemSize, normalized ) {
+	constructor( array, itemSize, normalized = false ) {
 
 		if ( Array.isArray( array ) ) {
 
@@ -9274,7 +9274,7 @@ class BufferAttribute {
 		this.array = array;
 		this.itemSize = itemSize;
 		this.count = array !== undefined ? array.length / itemSize : 0;
-		this.normalized = normalized === true;
+		this.normalized = normalized;
 
 		this.usage = StaticDrawUsage;
 		this.updateRange = { offset: 0, count: - 1 };
@@ -10685,7 +10685,7 @@ class BufferGeometry extends EventDispatcher {
 
 	clone() {
 
-		 return new this.constructor().copy( this );
+		return new this.constructor().copy( this );
 
 	}
 
@@ -29421,7 +29421,7 @@ class InterleavedBufferAttribute {
 		this.itemSize = itemSize;
 		this.offset = offset;
 
-		this.normalized = normalized === true;
+		this.normalized = normalized;
 
 	}
 

Bu fark içinde çok fazla dosya değişikliği olduğu için bazı dosyalar gösterilmiyor