提交 9c5816ed 编写于 作者: M Mugen87

Update builds.

上级 fd6335c9
......@@ -1072,7 +1072,7 @@
set: function ( value ) {
this._x = value;
this.onChangeCallback();
this._onChangeCallback();
}
......@@ -1089,7 +1089,7 @@
set: function ( value ) {
this._y = value;
this.onChangeCallback();
this._onChangeCallback();
}
......@@ -1106,7 +1106,7 @@
set: function ( value ) {
this._z = value;
this.onChangeCallback();
this._onChangeCallback();
}
......@@ -1123,7 +1123,7 @@
set: function ( value ) {
this._w = value;
this.onChangeCallback();
this._onChangeCallback();
}
......@@ -1142,7 +1142,7 @@
this._z = z;
this._w = w;
this.onChangeCallback();
this._onChangeCallback();
return this;
......@@ -1161,7 +1161,7 @@
this._z = quaternion.z;
this._w = quaternion.w;
this.onChangeCallback();
this._onChangeCallback();
return this;
......@@ -1236,7 +1236,7 @@
}
if ( update !== false ) this.onChangeCallback();
if ( update !== false ) this._onChangeCallback();
return this;
......@@ -1255,7 +1255,7 @@
this._z = axis.z * s;
this._w = Math.cos( halfAngle );
this.onChangeCallback();
this._onChangeCallback();
return this;
......@@ -1314,7 +1314,7 @@
}
this.onChangeCallback();
this._onChangeCallback();
return this;
......@@ -1397,7 +1397,7 @@
this._y *= - 1;
this._z *= - 1;
this.onChangeCallback();
this._onChangeCallback();
return this;
......@@ -1443,7 +1443,7 @@
}
this.onChangeCallback();
this._onChangeCallback();
return this;
......@@ -1480,7 +1480,7 @@
this._z = qaz * qbw + qaw * qbz + qax * qby - qay * qbx;
this._w = qaw * qbw - qax * qbx - qay * qby - qaz * qbz;
this.onChangeCallback();
this._onChangeCallback();
return this;
......@@ -1547,7 +1547,7 @@
this._y = ( y * ratioA + this._y * ratioB );
this._z = ( z * ratioA + this._z * ratioB );
this.onChangeCallback();
this._onChangeCallback();
return this;
......@@ -1568,7 +1568,7 @@
this._z = array[ offset + 2 ];
this._w = array[ offset + 3 ];
this.onChangeCallback();
this._onChangeCallback();
return this;
......@@ -1588,15 +1588,15 @@
},
onChange: function ( callback ) {
_onChange: function ( callback ) {
this.onChangeCallback = callback;
this._onChangeCallback = callback;
return this;
},
onChangeCallback: function () {}
_onChangeCallback: function () {}
} );
......@@ -3089,6 +3089,42 @@
}
Object.defineProperties( Vector4.prototype, {
"width": {
get: function () {
return this.z;
},
set: function ( value ) {
this.z = value;
}
},
"height": {
get: function () {
return this.w;
},
set: function ( value ) {
this.w = value;
}
}
} );
Object.assign( Vector4.prototype, {
isVector4: true,
......@@ -7915,7 +7951,7 @@
set: function ( value ) {
this._x = value;
this.onChangeCallback();
this._onChangeCallback();
}
......@@ -7932,7 +7968,7 @@
set: function ( value ) {
this._y = value;
this.onChangeCallback();
this._onChangeCallback();
}
......@@ -7949,7 +7985,7 @@
set: function ( value ) {
this._z = value;
this.onChangeCallback();
this._onChangeCallback();
}
......@@ -7966,7 +8002,7 @@
set: function ( value ) {
this._order = value;
this.onChangeCallback();
this._onChangeCallback();
}
......@@ -7985,7 +8021,7 @@
this._z = z;
this._order = order || this._order;
this.onChangeCallback();
this._onChangeCallback();
return this;
......@@ -8004,7 +8040,7 @@
this._z = euler._z;
this._order = euler._order;
this.onChangeCallback();
this._onChangeCallback();
return this;
......@@ -8127,7 +8163,7 @@
this._order = order;
if ( update !== false ) this.onChangeCallback();
if ( update !== false ) this._onChangeCallback();
return this;
......@@ -8182,7 +8218,7 @@
this._z = array[ 2 ];
if ( array[ 3 ] !== undefined ) this._order = array[ 3 ];
this.onChangeCallback();
this._onChangeCallback();
return this;
......@@ -8216,15 +8252,15 @@
},
onChange: function ( callback ) {
_onChange: function ( callback ) {
this.onChangeCallback = callback;
this._onChangeCallback = callback;
return this;
},
onChangeCallback: function () {}
_onChangeCallback: function () {}
} );
......@@ -8313,8 +8349,8 @@
}
rotation.onChange( onRotationChange );
quaternion.onChange( onQuaternionChange );
rotation._onChange( onRotationChange );
quaternion._onChange( onQuaternionChange );
Object.defineProperties( this, {
position: {
......@@ -20699,7 +20735,7 @@
_gl.pixelStorei( 37440, texture.flipY );
var isCompressed = ( texture.image[ 0 ] && texture.image[ 0 ].isCompressedTexture );
var isCompressed = ( texture && texture.isCompressedTexture );
var isDataTexture = ( texture.image[ 0 ] && texture.image[ 0 ].isDataTexture );
var cubeImage = [];
此差异已折叠。
......@@ -1066,7 +1066,7 @@ Object.defineProperties( Quaternion.prototype, {
set: function ( value ) {
this._x = value;
this.onChangeCallback();
this._onChangeCallback();
}
......@@ -1083,7 +1083,7 @@ Object.defineProperties( Quaternion.prototype, {
set: function ( value ) {
this._y = value;
this.onChangeCallback();
this._onChangeCallback();
}
......@@ -1100,7 +1100,7 @@ Object.defineProperties( Quaternion.prototype, {
set: function ( value ) {
this._z = value;
this.onChangeCallback();
this._onChangeCallback();
}
......@@ -1117,7 +1117,7 @@ Object.defineProperties( Quaternion.prototype, {
set: function ( value ) {
this._w = value;
this.onChangeCallback();
this._onChangeCallback();
}
......@@ -1136,7 +1136,7 @@ Object.assign( Quaternion.prototype, {
this._z = z;
this._w = w;
this.onChangeCallback();
this._onChangeCallback();
return this;
......@@ -1155,7 +1155,7 @@ Object.assign( Quaternion.prototype, {
this._z = quaternion.z;
this._w = quaternion.w;
this.onChangeCallback();
this._onChangeCallback();
return this;
......@@ -1230,7 +1230,7 @@ Object.assign( Quaternion.prototype, {
}
if ( update !== false ) this.onChangeCallback();
if ( update !== false ) this._onChangeCallback();
return this;
......@@ -1249,7 +1249,7 @@ Object.assign( Quaternion.prototype, {
this._z = axis.z * s;
this._w = Math.cos( halfAngle );
this.onChangeCallback();
this._onChangeCallback();
return this;
......@@ -1308,7 +1308,7 @@ Object.assign( Quaternion.prototype, {
}
this.onChangeCallback();
this._onChangeCallback();
return this;
......@@ -1391,7 +1391,7 @@ Object.assign( Quaternion.prototype, {
this._y *= - 1;
this._z *= - 1;
this.onChangeCallback();
this._onChangeCallback();
return this;
......@@ -1437,7 +1437,7 @@ Object.assign( Quaternion.prototype, {
}
this.onChangeCallback();
this._onChangeCallback();
return this;
......@@ -1474,7 +1474,7 @@ Object.assign( Quaternion.prototype, {
this._z = qaz * qbw + qaw * qbz + qax * qby - qay * qbx;
this._w = qaw * qbw - qax * qbx - qay * qby - qaz * qbz;
this.onChangeCallback();
this._onChangeCallback();
return this;
......@@ -1541,7 +1541,7 @@ Object.assign( Quaternion.prototype, {
this._y = ( y * ratioA + this._y * ratioB );
this._z = ( z * ratioA + this._z * ratioB );
this.onChangeCallback();
this._onChangeCallback();
return this;
......@@ -1562,7 +1562,7 @@ Object.assign( Quaternion.prototype, {
this._z = array[ offset + 2 ];
this._w = array[ offset + 3 ];
this.onChangeCallback();
this._onChangeCallback();
return this;
......@@ -1582,15 +1582,15 @@ Object.assign( Quaternion.prototype, {
},
onChange: function ( callback ) {
_onChange: function ( callback ) {
this.onChangeCallback = callback;
this._onChangeCallback = callback;
return this;
},
onChangeCallback: function () {}
_onChangeCallback: function () {}
} );
......@@ -3083,6 +3083,42 @@ function Vector4( x, y, z, w ) {
}
Object.defineProperties( Vector4.prototype, {
"width": {
get: function () {
return this.z;
},
set: function ( value ) {
this.z = value;
}
},
"height": {
get: function () {
return this.w;
},
set: function ( value ) {
this.w = value;
}
}
} );
Object.assign( Vector4.prototype, {
isVector4: true,
......@@ -7909,7 +7945,7 @@ Object.defineProperties( Euler.prototype, {
set: function ( value ) {
this._x = value;
this.onChangeCallback();
this._onChangeCallback();
}
......@@ -7926,7 +7962,7 @@ Object.defineProperties( Euler.prototype, {
set: function ( value ) {
this._y = value;
this.onChangeCallback();
this._onChangeCallback();
}
......@@ -7943,7 +7979,7 @@ Object.defineProperties( Euler.prototype, {
set: function ( value ) {
this._z = value;
this.onChangeCallback();
this._onChangeCallback();
}
......@@ -7960,7 +7996,7 @@ Object.defineProperties( Euler.prototype, {
set: function ( value ) {
this._order = value;
this.onChangeCallback();
this._onChangeCallback();
}
......@@ -7979,7 +8015,7 @@ Object.assign( Euler.prototype, {
this._z = z;
this._order = order || this._order;
this.onChangeCallback();
this._onChangeCallback();
return this;
......@@ -7998,7 +8034,7 @@ Object.assign( Euler.prototype, {
this._z = euler._z;
this._order = euler._order;
this.onChangeCallback();
this._onChangeCallback();
return this;
......@@ -8121,7 +8157,7 @@ Object.assign( Euler.prototype, {
this._order = order;
if ( update !== false ) this.onChangeCallback();
if ( update !== false ) this._onChangeCallback();
return this;
......@@ -8176,7 +8212,7 @@ Object.assign( Euler.prototype, {
this._z = array[ 2 ];
if ( array[ 3 ] !== undefined ) this._order = array[ 3 ];
this.onChangeCallback();
this._onChangeCallback();
return this;
......@@ -8210,15 +8246,15 @@ Object.assign( Euler.prototype, {
},
onChange: function ( callback ) {
_onChange: function ( callback ) {
this.onChangeCallback = callback;
this._onChangeCallback = callback;
return this;
},
onChangeCallback: function () {}
_onChangeCallback: function () {}
} );
......@@ -8307,8 +8343,8 @@ function Object3D() {
}
rotation.onChange( onRotationChange );
quaternion.onChange( onQuaternionChange );
rotation._onChange( onRotationChange );
quaternion._onChange( onQuaternionChange );
Object.defineProperties( this, {
position: {
......@@ -20693,7 +20729,7 @@ function WebGLTextures( _gl, extensions, state, properties, capabilities, utils,
_gl.pixelStorei( 37440, texture.flipY );
var isCompressed = ( texture.image[ 0 ] && texture.image[ 0 ].isCompressedTexture );
var isCompressed = ( texture && texture.isCompressedTexture );
var isDataTexture = ( texture.image[ 0 ] && texture.image[ 0 ].isDataTexture );
var cubeImage = [];
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册