Mugen87 1 anno fa
parent
commit
7e81ee34c9
5 ha cambiato i file con 227 aggiunte e 21 eliminazioni
  1. 56 0
      build/three.cjs
  2. 55 0
      build/three.module.js
  3. 0 0
      build/three.module.min.js
  4. 116 21
      build/three.webgpu.js
  5. 0 0
      build/three.webgpu.min.js

+ 56 - 0
build/three.cjs

@@ -51868,6 +51868,61 @@ class Cylindrical {
 
 }
 
+class Matrix2 {
+
+	constructor( n11, n12, n21, n22 ) {
+
+		Matrix2.prototype.isMatrix2 = true;
+
+		this.elements = [
+			1, 0,
+			0, 1,
+		];
+
+		if ( n11 !== undefined ) {
+
+			this.set( n11, n12, n21, n22 );
+
+		}
+
+	}
+
+	identity() {
+
+		this.set(
+			1, 0,
+			0, 1,
+		);
+
+		return this;
+
+	}
+
+	fromArray( array, offset = 0 ) {
+
+		for ( let i = 0; i < 4; i ++ ) {
+
+			this.elements[ i ] = array[ i + offset ];
+
+		}
+
+		return this;
+
+	}
+
+	set( n11, n12, n21, n22 ) {
+
+		const te = this.elements;
+
+		te[ 0 ] = n11; te[ 2 ] = n12;
+		te[ 1 ] = n21; te[ 3 ] = n22;
+
+		return this;
+
+	}
+
+}
+
 const _vector$4 = /*@__PURE__*/ new Vector2();
 
 class Box2 {
@@ -53942,6 +53997,7 @@ exports.MOUSE = MOUSE;
 exports.Material = Material;
 exports.MaterialLoader = MaterialLoader;
 exports.MathUtils = MathUtils;
+exports.Matrix2 = Matrix2;
 exports.Matrix3 = Matrix3;
 exports.Matrix4 = Matrix4;
 exports.MaxEquation = MaxEquation;

File diff suppressed because it is too large
+ 55 - 0
build/three.module.js


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


File diff suppressed because it is too large
+ 116 - 21
build/three.webgpu.js


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


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