Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
Ablesons
three.js
提交
266395a2
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,发现更多精彩内容 >>
未验证
提交
266395a2
编写于
12月 21, 2017
作者:
M
Mr.doob
提交者:
GitHub
12月 21, 2017
浏览文件
操作
浏览文件
下载
差异文件
Merge pull request #12945 from looeee/FBXLoader_cleanup_binaryparser
FBXLoader: Removed unused Binary Reader methods
上级
1634e838
8bc1a300
变更
1
隐藏空白更改
内联
并排
Showing
1 changed file
with
7 addition
and
107 deletion
+7
-107
examples/js/loaders/FBXLoader.js
examples/js/loaders/FBXLoader.js
+7
-107
未找到文件。
examples/js/loaders/FBXLoader.js
浏览文件 @
266395a2
...
...
@@ -3215,7 +3215,7 @@
parseProperty
:
function
(
reader
)
{
var
type
=
reader
.
get
Char
(
);
var
type
=
reader
.
get
String
(
1
);
switch
(
type
)
{
...
...
@@ -3370,28 +3370,6 @@
},
getInt8
:
function
()
{
var
value
=
this
.
dv
.
getInt8
(
this
.
offset
);
this
.
offset
+=
1
;
return
value
;
},
getInt8Array
:
function
(
size
)
{
var
a
=
[];
for
(
var
i
=
0
;
i
<
size
;
i
++
)
{
a
.
push
(
this
.
getInt8
()
);
}
return
a
;
},
getUint8
:
function
()
{
var
value
=
this
.
dv
.
getUint8
(
this
.
offset
);
...
...
@@ -3400,20 +3378,6 @@
},
getUint8Array
:
function
(
size
)
{
var
a
=
[];
for
(
var
i
=
0
;
i
<
size
;
i
++
)
{
a
.
push
(
this
.
getUint8
()
);
}
return
a
;
},
getInt16
:
function
()
{
var
value
=
this
.
dv
.
getInt16
(
this
.
offset
,
this
.
littleEndian
);
...
...
@@ -3422,42 +3386,6 @@
},
getInt16Array
:
function
(
size
)
{
var
a
=
[];
for
(
var
i
=
0
;
i
<
size
;
i
++
)
{
a
.
push
(
this
.
getInt16
()
);
}
return
a
;
},
getUint16
:
function
()
{
var
value
=
this
.
dv
.
getUint16
(
this
.
offset
,
this
.
littleEndian
);
this
.
offset
+=
2
;
return
value
;
},
getUint16Array
:
function
(
size
)
{
var
a
=
[];
for
(
var
i
=
0
;
i
<
size
;
i
++
)
{
a
.
push
(
this
.
getUint16
()
);
}
return
a
;
},
getInt32
:
function
()
{
var
value
=
this
.
dv
.
getInt32
(
this
.
offset
,
this
.
littleEndian
);
...
...
@@ -3488,20 +3416,6 @@
},
getUint32Array
:
function
(
size
)
{
var
a
=
[];
for
(
var
i
=
0
;
i
<
size
;
i
++
)
{
a
.
push
(
this
.
getUint32
()
);
}
return
a
;
},
// JavaScript doesn't support 64-bit integer so calculate this here
// 1 << 32 will return 1 so using multiply operation instead here.
// There's a possibility that this method returns wrong value if the value
...
...
@@ -3576,20 +3490,6 @@
},
getUint64Array
:
function
(
size
)
{
var
a
=
[];
for
(
var
i
=
0
;
i
<
size
;
i
++
)
{
a
.
push
(
this
.
getUint64
()
);
}
return
a
;
},
getFloat32
:
function
()
{
var
value
=
this
.
dv
.
getFloat32
(
this
.
offset
,
this
.
littleEndian
);
...
...
@@ -3642,15 +3542,16 @@
},
get
Char
:
function
(
)
{
get
String
:
function
(
size
)
{
return
String
.
fromCharCode
(
this
.
getUint8
()
);
var
a
=
new
Uint8Array
(
size
);
},
for
(
var
i
=
0
;
i
<
size
;
i
++
)
{
getString
:
function
(
size
)
{
a
[
i
]
=
this
.
getUint8
();
}
var
a
=
new
Uint8Array
(
this
.
getUint8Array
(
size
)
);
var
nullByte
=
a
.
indexOf
(
0
);
if
(
nullByte
>=
0
)
a
=
a
.
slice
(
0
,
nullByte
);
...
...
@@ -3762,7 +3663,6 @@
}
// Converts ArrayBuffer to String.
function
convertArrayBufferToString
(
buffer
,
from
,
to
)
{
if
(
from
===
undefined
)
from
=
0
;
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录