Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
车家大少爷
three.js
提交
36c7a7be
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,发现更多精彩内容 >>
提交
36c7a7be
编写于
6月 03, 2016
作者:
M
Mr.doob
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Removed statusDomElement.
上级
e7f7d51f
变更
8
展开全部
隐藏空白更改
内联
并排
Showing
8 changed file
with
177 addition
and
253 deletion
+177
-253
docs/api/loaders/Loader.html
docs/api/loaders/Loader.html
+0
-5
editor/js/libs/tern-threejs/threejs.js
editor/js/libs/tern-threejs/threejs.js
+2
-26
examples/js/loaders/BinaryLoader.js
examples/js/loaders/BinaryLoader.js
+0
-15
examples/js/loaders/FBXLoader.js
examples/js/loaders/FBXLoader.js
+2
-2
examples/js/loaders/MMDLoader.js
examples/js/loaders/MMDLoader.js
+2
-2
examples/js/loaders/ctm/CTMLoader.js
examples/js/loaders/ctm/CTMLoader.js
+0
-19
examples/js/loaders/gltf/glTFLoader.js
examples/js/loaders/gltf/glTFLoader.js
+171
-174
src/Three.Legacy.js
src/Three.Legacy.js
+0
-10
未找到文件。
docs/api/loaders/Loader.html
浏览文件 @
36c7a7be
...
...
@@ -69,11 +69,6 @@
Extract the base from the URL.
</div>
<h3>
[method:DOMElement addStatusElement]()
</h3>
<div>
Add a DOM element to indicate the progress and return the DOMElement
</div>
<h2>
Source
</h2>
...
...
editor/js/libs/tern-threejs/threejs.js
浏览文件 @
36c7a7be
...
...
@@ -2268,14 +2268,6 @@
"
!type
"
:
"
boolean
"
,
"
!doc
"
:
"
If true, the ajax request will use cookies.
"
},
"
showStatus
"
:
{
"
!type
"
:
"
bool
"
,
"
!doc
"
:
"
If true, show loading status in the statusDomElement.
"
},
"
statusDomElement
"
:
{
"
!type
"
:
"
DOMElement
"
,
"
!doc
"
:
"
This is the recipient of status messages.
"
},
"
onLoadStart
"
:
{
"
!type
"
:
"
function
"
,
"
!doc
"
:
"
The default is a function with empty body.
"
...
...
@@ -2311,26 +2303,14 @@
"
extractUrlBase
"
:
{
"
!type
"
:
"
fn(url: string) -> string
"
,
"
!doc
"
:
"
Extract the base from the URL.
"
},
"
addStatusElement
"
:
{
"
!type
"
:
"
fn() -> DOMElement
"
,
"
!doc
"
:
"
Add a DOM element to indicate the progress and return the DOMElement
"
}
},
"
!doc
"
:
"
A loader for loading objects in JSON format.
"
,
"
!type
"
:
"
fn(
showStatus: bool
)
"
"
!type
"
:
"
fn()
"
},
"
Loader
"
:
{
"
!url
"
:
"
http://threejs.org/docs/#Reference/loaders/Loader
"
,
"
prototype
"
:
{
"
showStatus
"
:
{
"
!type
"
:
"
bool
"
,
"
!doc
"
:
"
If true, show loading status in the statusDomElement.
"
},
"
statusDomElement
"
:
{
"
!type
"
:
"
DOMElement
"
,
"
!doc
"
:
"
This is the recipient of status messages.
"
},
"
onLoadStart
"
:
{
"
!type
"
:
"
function
"
,
"
!doc
"
:
"
The default is a function with empty body.
"
...
...
@@ -2362,14 +2342,10 @@
"
extractUrlBase
"
:
{
"
!type
"
:
"
fn(url: string) -> string
"
,
"
!doc
"
:
"
Extract the base from the URL.
"
},
"
addStatusElement
"
:
{
"
!type
"
:
"
fn() -> DOMElement
"
,
"
!doc
"
:
"
Add a DOM element to indicate the progress and return the DOMElement
"
}
},
"
!doc
"
:
"
Base class for implementing loaders.
"
,
"
!type
"
:
"
fn(
showStatus: bool
)
"
"
!type
"
:
"
fn()
"
},
"
LoadingManager
"
:
{
"
!url
"
:
"
http://threejs.org/docs/#Reference/loaders/LoadingManager
"
,
...
...
examples/js/loaders/BinaryLoader.js
浏览文件 @
36c7a7be
...
...
@@ -19,21 +19,6 @@ THREE.BinaryLoader.prototype = {
constructor
:
THREE
.
BinaryLoader
,
// Deprecated
get
statusDomElement
()
{
if
(
this
.
_statusDomElement
===
undefined
)
{
this
.
_statusDomElement
=
document
.
createElement
(
'
div
'
);
}
console
.
warn
(
'
THREE.BinaryLoader: .statusDomElement has been removed.
'
);
return
this
.
_statusDomElement
;
},
// Load models generated by slim OBJ converter with BINARY option (converter_obj_three_slim.py -t binary)
// - binary models consist of two files: JS and BIN
// - parameters
...
...
examples/js/loaders/FBXLoader.js
浏览文件 @
36c7a7be
...
...
@@ -16,9 +16,9 @@
(
function
()
{
THREE
.
FBXLoader
=
function
(
showStatus
,
manager
)
{
THREE
.
FBXLoader
=
function
(
manager
)
{
THREE
.
Loader
.
call
(
this
,
showStatus
);
THREE
.
Loader
.
call
(
this
);
this
.
manager
=
(
manager
!==
undefined
)
?
manager
:
THREE
.
DefaultLoadingManager
;
this
.
textureLoader
=
null
;
this
.
textureBasePath
=
null
;
...
...
examples/js/loaders/MMDLoader.js
浏览文件 @
36c7a7be
...
...
@@ -33,9 +33,9 @@
* - shadow support.
*/
THREE
.
MMDLoader
=
function
(
showStatus
,
manager
)
{
THREE
.
MMDLoader
=
function
(
manager
)
{
THREE
.
Loader
.
call
(
this
,
showStatus
);
THREE
.
Loader
.
call
(
this
);
this
.
manager
=
(
manager
!==
undefined
)
?
manager
:
THREE
.
DefaultLoadingManager
;
this
.
defaultTexturePath
=
'
./models/default/
'
;
...
...
examples/js/loaders/ctm/CTMLoader.js
浏览文件 @
36c7a7be
...
...
@@ -12,25 +12,6 @@ THREE.CTMLoader = function () {
THREE
.
Loader
.
call
(
this
);
// Deprecated
Object
.
defineProperties
(
this
,
{
statusDomElement
:
{
get
:
function
()
{
if
(
this
.
_statusDomElement
===
undefined
)
{
this
.
_statusDomElement
=
document
.
createElement
(
'
div
'
);
}
console
.
warn
(
'
THREE.BinaryLoader: .statusDomElement has been removed.
'
);
return
this
.
_statusDomElement
;
}
},
}
);
};
THREE
.
CTMLoader
.
prototype
=
Object
.
create
(
THREE
.
Loader
.
prototype
);
...
...
examples/js/loaders/gltf/glTFLoader.js
浏览文件 @
36c7a7be
此差异已折叠。
点击以展开。
src/Three.Legacy.js
浏览文件 @
36c7a7be
...
...
@@ -362,16 +362,6 @@ Object.defineProperties( THREE.BufferGeometry.prototype, {
//
Object
.
defineProperties
(
THREE
.
JSONLoader
.
prototype
,
{
statusDomElement
:
{
get
:
function
()
{
console
.
error
(
'
THREE.JSONLoader: .statusDomElement has been removed.
'
);
}
}
}
);
//
Object
.
defineProperties
(
THREE
.
Material
.
prototype
,
{
wrapAround
:
{
get
:
function
()
{
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录