Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
Ablesons
three.js
提交
eb6ab39c
T
three.js
项目概览
Ablesons
/
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,发现更多精彩内容 >>
提交
eb6ab39c
编写于
4月 05, 2021
作者:
M
Mr.doob
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Updated builds.
上级
0b9f01be
变更
3
展开全部
隐藏空白更改
内联
并排
Showing
3 changed file
with
106 addition
and
19 deletion
+106
-19
build/three.js
build/three.js
+43
-8
build/three.min.js
build/three.min.js
+1
-1
build/three.module.js
build/three.module.js
+62
-10
未找到文件。
build/three.js
浏览文件 @
eb6ab39c
...
...
@@ -9,7 +9,7 @@
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.THREE = {}));
}(this, (function (exports) { 'use strict';
const REVISION = '12
7
';
const REVISION = '12
8dev
';
const MOUSE = {
LEFT: 0,
MIDDLE: 1,
...
...
@@ -19192,15 +19192,15 @@
}
});
function Bone() {
Object3D.call(this);
this.type = 'Bone';
class Bone extends Object3D {
constructor() {
super();
this.type = 'Bone';
}
}
Bone.prototype = Object.assign(Object.create(Object3D.prototype), {
constructor: Bone,
isBone: true
});
Bone.prototype.isBone = true;
const _offsetMatrix = /*@__PURE__*/new Matrix4();
...
...
@@ -26721,6 +26721,9 @@
this.intensity = intensity;
}
dispose() {// Empty here in base class; some subclasses override.
}
copy(source) {
super.copy(source);
this.color.copy(source.color);
...
...
@@ -26826,6 +26829,16 @@
return this._frameExtents;
}
dispose() {
if (this.map) {
this.map.dispose();
}
if (this.mapPass) {
this.mapPass.dispose();
}
}
copy(source) {
this.camera = source.camera.clone();
this.bias = source.bias;
...
...
@@ -26910,6 +26923,10 @@
this.intensity = power / Math.PI;
}
dispose() {
this.shadow.dispose();
}
copy(source) {
super.copy(source);
this.distance = source.distance;
...
...
@@ -27013,6 +27030,10 @@
this.intensity = power / (4 * Math.PI);
}
dispose() {
this.shadow.dispose();
}
copy(source) {
super.copy(source);
this.distance = source.distance;
...
...
@@ -27143,6 +27164,10 @@
this.shadow = new DirectionalLightShadow();
}
dispose() {
this.shadow.dispose();
}
copy(source) {
super.copy(source);
this.target = source.target.clone();
...
...
@@ -32674,6 +32699,11 @@
geometry.getAttribute('position').needsUpdate = true;
}
dispose() {
this.geometry.dispose();
this.material.dispose();
}
}
function setPoint(point, pointMap, geometry, camera, x, y, z) {
...
...
@@ -32936,6 +32966,11 @@
this.type = 'AxesHelper';
}
dispose() {
this.geometry.dispose();
this.material.dispose();
}
}
const _floatView = new Float32Array(1);
build/three.min.js
浏览文件 @
eb6ab39c
此差异已折叠。
点击以展开。
build/three.module.js
浏览文件 @
eb6ab39c
...
...
@@ -3,7 +3,7 @@
* Copyright 2010-2021 Three.js Authors
* SPDX-License-Identifier: MIT
*/
const REVISION = '12
7
';
const REVISION = '12
8dev
';
const MOUSE = { LEFT: 0, MIDDLE: 1, RIGHT: 2, ROTATE: 0, DOLLY: 1, PAN: 2 };
const TOUCH = { ROTATE: 0, PAN: 1, DOLLY_PAN: 2, DOLLY_ROTATE: 3 };
const CullFaceNone = 0;
...
...
@@ -26440,21 +26440,19 @@ SkinnedMesh.prototype = Object.assign( Object.create( Mesh.prototype ), {
} );
function Bone()
{
class Bone extends Object3D
{
Object3D.call( this );
this.type = 'Bone';
constructor() {
}
super();
Bone.prototype = Object.assign( Object.create( Object3D.prototype ), {
this.type = 'Bone';
constructor: Bone,
}
isBone: true
}
} )
;
Bone.prototype.isBone = true
;
const _offsetMatrix = /*@__PURE__*/ new Matrix4();
const _identityMatrix = /*@__PURE__*/ new Matrix4();
...
...
@@ -37290,6 +37288,12 @@ class Light extends Object3D {
}
dispose() {
// Empty here in base class; some subclasses override.
}
copy( source ) {
super.copy( source );
...
...
@@ -37441,6 +37445,22 @@ class LightShadow {
}
dispose() {
if ( this.map ) {
this.map.dispose();
}
if ( this.mapPass ) {
this.mapPass.dispose();
}
}
copy( source ) {
this.camera = source.camera.clone();
...
...
@@ -37561,6 +37581,12 @@ class SpotLight extends Light {
}
dispose() {
this.shadow.dispose();
}
copy( source ) {
super.copy( source );
...
...
@@ -37701,6 +37727,12 @@ class PointLight extends Light {
}
dispose() {
this.shadow.dispose();
}
copy( source ) {
super.copy( source );
...
...
@@ -37880,6 +37912,12 @@ class DirectionalLight extends Light {
}
dispose() {
this.shadow.dispose();
}
copy( source ) {
super.copy( source );
...
...
@@ -45861,6 +45899,13 @@ class CameraHelper extends LineSegments {
}
dispose() {
this.geometry.dispose();
this.material.dispose();
}
}
...
...
@@ -46194,6 +46239,13 @@ class AxesHelper extends LineSegments {
}
dispose() {
this.geometry.dispose();
this.material.dispose();
}
}
const _floatView = new Float32Array( 1 );
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录