Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
车家大少爷
three.js
提交
9c5816ed
T
three.js
项目概览
车家大少爷
/
three.js
与 Fork 源项目一致
从无法访问的项目Fork
通知
2
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
T
three.js
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
9c5816ed
编写于
6月 17, 2019
作者:
M
Mugen87
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Update builds.
上级
fd6335c9
变更
3
展开全部
隐藏空白更改
内联
并排
Showing
3 changed file
with
212 addition
and
140 deletion
+212
-140
build/three.js
build/three.js
+67
-31
build/three.min.js
build/three.min.js
+78
-78
build/three.module.js
build/three.module.js
+67
-31
未找到文件。
build/three.js
浏览文件 @
9c5816ed
...
...
@@ -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 = [];
build/three.min.js
浏览文件 @
9c5816ed
此差异已折叠。
点击以展开。
build/three.module.js
浏览文件 @
9c5816ed
...
...
@@ -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.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录