浏览代码

Updated builds.

Mr.doob 7 年之前
父节点
当前提交
de3cc3729b
共有 3 个文件被更改,包括 161 次插入162 次删除
  1. 11 11
      build/three.js
  2. 139 140
      build/three.min.js
  3. 11 11
      build/three.module.js

+ 11 - 11
build/three.js

@@ -10288,8 +10288,6 @@
 		this.dynamic = false;
 		this.updateRange = { offset: 0, count: - 1 };
 
-		this.onUploadCallback = function () {};
-
 		this.version = 0;
 
 	}
@@ -10308,6 +10306,8 @@
 
 		isBufferAttribute: true,
 
+		onUploadCallback: function () {},
+
 		setArray: function ( array ) {
 
 			if ( Array.isArray( array ) ) {
@@ -35622,13 +35622,7 @@
 	 * @author alteredq / http://alteredqualia.com/
 	 */
 
-	function Loader() {
-
-		this.onLoadStart = function () {};
-		this.onLoadProgress = function () {};
-		this.onLoadComplete = function () {};
-
-	}
+	function Loader() {}
 
 	Loader.Handlers = {
 
@@ -35667,6 +35661,12 @@
 
 		crossOrigin: undefined,
 
+		onLoadStart: function () {},
+
+		onLoadProgress: function () {},
+
+		onLoadComplete: function () {},
+
 		initMaterials: function ( materials, texturePath, crossOrigin ) {
 
 			var array = [];
@@ -41694,8 +41694,6 @@
 		this.dynamic = false;
 		this.updateRange = { offset: 0, count: - 1 };
 
-		this.onUploadCallback = function () {};
-
 		this.version = 0;
 
 	}
@@ -41714,6 +41712,8 @@
 
 		isInterleavedBuffer: true,
 
+		onUploadCallback: function () {},
+
 		setArray: function ( array ) {
 
 			if ( Array.isArray( array ) ) {

文件差异内容过多而无法显示
+ 139 - 140
build/three.min.js


+ 11 - 11
build/three.module.js

@@ -10282,8 +10282,6 @@ function BufferAttribute( array, itemSize, normalized ) {
 	this.dynamic = false;
 	this.updateRange = { offset: 0, count: - 1 };
 
-	this.onUploadCallback = function () {};
-
 	this.version = 0;
 
 }
@@ -10302,6 +10300,8 @@ Object.assign( BufferAttribute.prototype, {
 
 	isBufferAttribute: true,
 
+	onUploadCallback: function () {},
+
 	setArray: function ( array ) {
 
 		if ( Array.isArray( array ) ) {
@@ -35616,13 +35616,7 @@ var TYPED_ARRAYS = {
  * @author alteredq / http://alteredqualia.com/
  */
 
-function Loader() {
-
-	this.onLoadStart = function () {};
-	this.onLoadProgress = function () {};
-	this.onLoadComplete = function () {};
-
-}
+function Loader() {}
 
 Loader.Handlers = {
 
@@ -35661,6 +35655,12 @@ Object.assign( Loader.prototype, {
 
 	crossOrigin: undefined,
 
+	onLoadStart: function () {},
+
+	onLoadProgress: function () {},
+
+	onLoadComplete: function () {},
+
 	initMaterials: function ( materials, texturePath, crossOrigin ) {
 
 		var array = [];
@@ -41688,8 +41688,6 @@ function InterleavedBuffer( array, stride ) {
 	this.dynamic = false;
 	this.updateRange = { offset: 0, count: - 1 };
 
-	this.onUploadCallback = function () {};
-
 	this.version = 0;
 
 }
@@ -41708,6 +41706,8 @@ Object.assign( InterleavedBuffer.prototype, {
 
 	isInterleavedBuffer: true,
 
+	onUploadCallback: function () {},
+
 	setArray: function ( array ) {
 
 		if ( Array.isArray( array ) ) {

部分文件因为文件数量过多而无法显示