提交 58778fdb 编写于 作者: M Mr.doob

Updated builds.

上级 6df43211
......@@ -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 );
......
此差异已折叠。
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册