Ver Fonte

Updated builds.

Mr.doob há 9 anos atrás
pai
commit
58778fdbd7
2 ficheiros alterados com 4 adições e 9 exclusões
  1. 4 9
      build/three.js
  2. 0 0
      build/three.min.js

+ 4 - 9
build/three.js

@@ -19327,7 +19327,7 @@
 
 	function WebGLRenderer( parameters ) {
 
-		console.log( 'THREE.WebGLRenderer', "80dev" );
+		console.log( 'THREE.WebGLRenderer', REVISION );
 
 		parameters = parameters || {};
 
@@ -22179,7 +22179,7 @@
 	 */
 
 	function Scene () {
-		
+
 		Object3D.call( this );
 
 		this.type = 'Scene';
@@ -22214,12 +22214,8 @@
 	Scene.prototype.toJSON = function ( meta ) {
 
 		var data = Object3D.prototype.toJSON.call( this, meta );
-		
-		if ( this.fog != null ) {
-			
-			data.object.fog = this.fog.toJSON();
 
-		}
+		if ( this.fog !== null ) data.object.fog = this.fog.toJSON();
 
 		return data;
 
@@ -38196,8 +38192,6 @@
 	BoxGeometry.prototype = Object.create( Geometry.prototype );
 	BoxGeometry.prototype.constructor = BoxGeometry;
 
-	exports.CubeGeometry = BoxGeometry;
-
 	/**
 	 * @author WestLangley / http://github.com/WestLangley
 	 */
@@ -40941,6 +40935,7 @@
  */
 
 Object.assign( THREE, {
+	CubeGeometry: THREE.BoxGeometry,
 	Face4: function ( a, b, c, d, normal, color, materialIndex ) {
 		console.warn( 'THREE.Face4 has been removed. A THREE.Face3 will be created instead.' );
 		return new THREE.Face3( a, b, c, normal, color, materialIndex );

Diff do ficheiro suprimidas por serem muito extensas
+ 0 - 0
build/three.min.js


Alguns ficheiros não foram mostrados porque muitos ficheiros mudaram neste diff