Mr.doob 4 vuotta sitten
vanhempi
commit
95ef309c79
6 muutettua tiedostoa jossa 14 lisäystä ja 5 poistoa
  1. 4 1
      build/three.js
  2. 0 0
      build/three.min.js
  3. 7 1
      build/three.module.js
  4. 1 1
      editor/sw.js
  5. 1 1
      package.json
  6. 1 1
      src/constants.js

+ 4 - 1
build/three.js

@@ -63,7 +63,7 @@
 		};
 	}
 
-	var REVISION = '122dev';
+	var REVISION = '122';
 	var MOUSE = {
 		LEFT: 0,
 		MIDDLE: 1,
@@ -20043,6 +20043,9 @@
 
 	VideoTexture.prototype = Object.assign(Object.create(Texture.prototype), {
 		constructor: VideoTexture,
+		clone: function clone() {
+			return new this.constructor(this.image).copy(this);
+		},
 		isVideoTexture: true,
 		update: function update() {
 			var video = this.image;

Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 0 - 0
build/three.min.js


+ 7 - 1
build/three.module.js

@@ -1,5 +1,5 @@
 // threejs.org/license
-const REVISION = '122dev';
+const REVISION = '122';
 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;
@@ -27175,6 +27175,12 @@ VideoTexture.prototype = Object.assign( Object.create( Texture.prototype ), {
 
 	constructor: VideoTexture,
 
+	clone: function () {
+
+		return new this.constructor( this.image ).copy( this );
+
+	},
+
 	isVideoTexture: true,
 
 	update: function () {

+ 1 - 1
editor/sw.js

@@ -1,4 +1,4 @@
-// r121
+// r122
 
 const assets = [
 	'./',

+ 1 - 1
package.json

@@ -1,6 +1,6 @@
 {
   "name": "three",
-  "version": "0.121.1",
+  "version": "0.122.0",
   "description": "JavaScript 3D library",
   "main": "build/three.js",
   "module": "build/three.module.js",

+ 1 - 1
src/constants.js

@@ -1,4 +1,4 @@
-export const REVISION = '122dev';
+export const REVISION = '122';
 export const MOUSE = { LEFT: 0, MIDDLE: 1, RIGHT: 2, ROTATE: 0, DOLLY: 1, PAN: 2 };
 export const TOUCH = { ROTATE: 0, PAN: 1, DOLLY_PAN: 2, DOLLY_ROTATE: 3 };
 export const CullFaceNone = 0;

Kaikkia tiedostoja ei voida näyttää, sillä liian monta tiedostoa muuttui tässä diffissä