Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
Ablesons
three.js
提交
a8abdb18
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,发现更多精彩内容 >>
提交
a8abdb18
编写于
1月 29, 2014
作者:
M
Mr.doob
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Updated builds.
上级
30a4eaea
变更
2
显示空白变更内容
内联
并排
Showing
2 changed file
with
1 addition
and
2 deletion
+1
-2
build/three.js
build/three.js
+0
-1
build/three.min.js
build/three.min.js
+1
-1
未找到文件。
build/three.js
浏览文件 @
a8abdb18
...
...
@@ -14035,7 +14035,6 @@ THREE.MeshPhongMaterial.prototype.clone = function () {
material.shininess = this.shininess;
material.metal = this.metal;
material.perPixel = this.perPixel;
material.wrapAround = this.wrapAround;
material.wrapRGB.copy( this.wrapRGB );
...
...
build/three.min.js
浏览文件 @
a8abdb18
...
...
@@ -274,7 +274,7 @@ this.wireframeLinejoin;a.vertexColors=this.vertexColors;a.skinning=this.skinning
THREE
.
MeshLambertMaterial
.
prototype
.
clone
=
function
(){
var
a
=
new
THREE
.
MeshLambertMaterial
;
THREE
.
Material
.
prototype
.
clone
.
call
(
this
,
a
);
a
.
color
.
copy
(
this
.
color
);
a
.
ambient
.
copy
(
this
.
ambient
);
a
.
emissive
.
copy
(
this
.
emissive
);
a
.
wrapAround
=
this
.
wrapAround
;
a
.
wrapRGB
.
copy
(
this
.
wrapRGB
);
a
.
map
=
this
.
map
;
a
.
lightMap
=
this
.
lightMap
;
a
.
specularMap
=
this
.
specularMap
;
a
.
envMap
=
this
.
envMap
;
a
.
combine
=
this
.
combine
;
a
.
reflectivity
=
this
.
reflectivity
;
a
.
refractionRatio
=
this
.
refractionRatio
;
a
.
fog
=
this
.
fog
;
a
.
shading
=
this
.
shading
;
a
.
wireframe
=
this
.
wireframe
;
a
.
wireframeLinewidth
=
this
.
wireframeLinewidth
;
a
.
wireframeLinecap
=
this
.
wireframeLinecap
;
a
.
wireframeLinejoin
=
this
.
wireframeLinejoin
;
a
.
vertexColors
=
this
.
vertexColors
;
a
.
skinning
=
this
.
skinning
;
a
.
morphTargets
=
this
.
morphTargets
;
a
.
morphNormals
=
this
.
morphNormals
;
return
a
};
THREE
.
MeshPhongMaterial
=
function
(
a
){
THREE
.
Material
.
call
(
this
);
this
.
color
=
new
THREE
.
Color
(
16777215
);
this
.
ambient
=
new
THREE
.
Color
(
16777215
);
this
.
emissive
=
new
THREE
.
Color
(
0
);
this
.
specular
=
new
THREE
.
Color
(
1118481
);
this
.
shininess
=
30
;
this
.
wrapAround
=
this
.
metal
=!
1
;
this
.
wrapRGB
=
new
THREE
.
Vector3
(
1
,
1
,
1
);
this
.
bumpMap
=
this
.
lightMap
=
this
.
map
=
null
;
this
.
bumpScale
=
1
;
this
.
normalMap
=
null
;
this
.
normalScale
=
new
THREE
.
Vector2
(
1
,
1
);
this
.
envMap
=
this
.
specularMap
=
null
;
this
.
combine
=
THREE
.
MultiplyOperation
;
this
.
reflectivity
=
1
;
this
.
refractionRatio
=
0.98
;
this
.
fog
=!
0
;
this
.
shading
=
THREE
.
SmoothShading
;
this
.
wireframe
=!
1
;
this
.
wireframeLinewidth
=
1
;
this
.
wireframeLinejoin
=
this
.
wireframeLinecap
=
"
round
"
;
this
.
vertexColors
=
THREE
.
NoColors
;
this
.
morphNormals
=
this
.
morphTargets
=
this
.
skinning
=!
1
;
this
.
setValues
(
a
)};
THREE
.
MeshPhongMaterial
.
prototype
=
Object
.
create
(
THREE
.
Material
.
prototype
);
THREE
.
MeshPhongMaterial
.
prototype
.
clone
=
function
(){
var
a
=
new
THREE
.
MeshPhongMaterial
;
THREE
.
Material
.
prototype
.
clone
.
call
(
this
,
a
);
a
.
color
.
copy
(
this
.
color
);
a
.
ambient
.
copy
(
this
.
ambient
);
a
.
emissive
.
copy
(
this
.
emissive
);
a
.
specular
.
copy
(
this
.
specular
);
a
.
shininess
=
this
.
shininess
;
a
.
metal
=
this
.
metal
;
a
.
perPixel
=
this
.
perPixel
;
a
.
wrapAround
=
this
.
wrapAround
;
a
.
wrapRGB
.
copy
(
this
.
wrapRGB
);
a
.
map
=
this
.
map
;
a
.
lightMap
=
this
.
lightMap
;
a
.
bumpMap
=
this
.
bumpMap
;
a
.
bumpScale
=
this
.
bumpScale
;
a
.
normalMap
=
this
.
normalMap
;
a
.
normalScale
.
copy
(
this
.
normalScale
);
THREE
.
MeshPhongMaterial
.
prototype
.
clone
=
function
(){
var
a
=
new
THREE
.
MeshPhongMaterial
;
THREE
.
Material
.
prototype
.
clone
.
call
(
this
,
a
);
a
.
color
.
copy
(
this
.
color
);
a
.
ambient
.
copy
(
this
.
ambient
);
a
.
emissive
.
copy
(
this
.
emissive
);
a
.
specular
.
copy
(
this
.
specular
);
a
.
shininess
=
this
.
shininess
;
a
.
metal
=
this
.
metal
;
a
.
wrapAround
=
this
.
wrapAround
;
a
.
wrapRGB
.
copy
(
this
.
wrapRGB
);
a
.
map
=
this
.
map
;
a
.
lightMap
=
this
.
lightMap
;
a
.
bumpMap
=
this
.
bumpMap
;
a
.
bumpScale
=
this
.
bumpScale
;
a
.
normalMap
=
this
.
normalMap
;
a
.
normalScale
.
copy
(
this
.
normalScale
);
a
.
specularMap
=
this
.
specularMap
;
a
.
envMap
=
this
.
envMap
;
a
.
combine
=
this
.
combine
;
a
.
reflectivity
=
this
.
reflectivity
;
a
.
refractionRatio
=
this
.
refractionRatio
;
a
.
fog
=
this
.
fog
;
a
.
shading
=
this
.
shading
;
a
.
wireframe
=
this
.
wireframe
;
a
.
wireframeLinewidth
=
this
.
wireframeLinewidth
;
a
.
wireframeLinecap
=
this
.
wireframeLinecap
;
a
.
wireframeLinejoin
=
this
.
wireframeLinejoin
;
a
.
vertexColors
=
this
.
vertexColors
;
a
.
skinning
=
this
.
skinning
;
a
.
morphTargets
=
this
.
morphTargets
;
a
.
morphNormals
=
this
.
morphNormals
;
return
a
};
THREE
.
MeshDepthMaterial
=
function
(
a
){
THREE
.
Material
.
call
(
this
);
this
.
wireframe
=!
1
;
this
.
wireframeLinewidth
=
1
;
this
.
setValues
(
a
)};
THREE
.
MeshDepthMaterial
.
prototype
=
Object
.
create
(
THREE
.
Material
.
prototype
);
THREE
.
MeshDepthMaterial
.
prototype
.
clone
=
function
(){
var
a
=
new
THREE
.
MeshDepthMaterial
;
THREE
.
Material
.
prototype
.
clone
.
call
(
this
,
a
);
a
.
wireframe
=
this
.
wireframe
;
a
.
wireframeLinewidth
=
this
.
wireframeLinewidth
;
return
a
};
THREE
.
MeshNormalMaterial
=
function
(
a
){
THREE
.
Material
.
call
(
this
,
a
);
this
.
shading
=
THREE
.
FlatShading
;
this
.
wireframe
=!
1
;
this
.
wireframeLinewidth
=
1
;
this
.
morphTargets
=!
1
;
this
.
setValues
(
a
)};
THREE
.
MeshNormalMaterial
.
prototype
=
Object
.
create
(
THREE
.
Material
.
prototype
);
THREE
.
MeshNormalMaterial
.
prototype
.
clone
=
function
(){
var
a
=
new
THREE
.
MeshNormalMaterial
;
THREE
.
Material
.
prototype
.
clone
.
call
(
this
,
a
);
a
.
shading
=
this
.
shading
;
a
.
wireframe
=
this
.
wireframe
;
a
.
wireframeLinewidth
=
this
.
wireframeLinewidth
;
return
a
};
THREE
.
MeshFaceMaterial
=
function
(
a
){
this
.
materials
=
a
instanceof
Array
?
a
:[]};
THREE
.
MeshFaceMaterial
.
prototype
.
clone
=
function
(){
for
(
var
a
=
new
THREE
.
MeshFaceMaterial
,
b
=
0
;
b
<
this
.
materials
.
length
;
b
++
)
a
.
materials
.
push
(
this
.
materials
[
b
].
clone
());
return
a
};
THREE
.
ParticleSystemMaterial
=
function
(
a
){
THREE
.
Material
.
call
(
this
);
this
.
color
=
new
THREE
.
Color
(
16777215
);
this
.
map
=
null
;
this
.
size
=
1
;
this
.
sizeAttenuation
=!
0
;
this
.
vertexColors
=!
1
;
this
.
fog
=!
0
;
this
.
setValues
(
a
)};
THREE
.
ParticleSystemMaterial
.
prototype
=
Object
.
create
(
THREE
.
Material
.
prototype
);
THREE
.
ParticleSystemMaterial
.
prototype
.
clone
=
function
(){
var
a
=
new
THREE
.
ParticleSystemMaterial
;
THREE
.
Material
.
prototype
.
clone
.
call
(
this
,
a
);
a
.
color
.
copy
(
this
.
color
);
a
.
map
=
this
.
map
;
a
.
size
=
this
.
size
;
a
.
sizeAttenuation
=
this
.
sizeAttenuation
;
a
.
vertexColors
=
this
.
vertexColors
;
a
.
fog
=
this
.
fog
;
return
a
};
THREE
.
ParticleBasicMaterial
=
THREE
.
ParticleSystemMaterial
;
THREE
.
ShaderMaterial
=
function
(
a
){
THREE
.
Material
.
call
(
this
);
this
.
vertexShader
=
this
.
fragmentShader
=
"
void main() {}
"
;
this
.
uniforms
=
{};
this
.
defines
=
{};
this
.
attributes
=
null
;
this
.
shading
=
THREE
.
SmoothShading
;
this
.
linewidth
=
1
;
this
.
wireframe
=!
1
;
this
.
wireframeLinewidth
=
1
;
this
.
lights
=
this
.
fog
=!
1
;
this
.
vertexColors
=
THREE
.
NoColors
;
this
.
morphNormals
=
this
.
morphTargets
=
this
.
skinning
=!
1
;
this
.
defaultAttributeValues
=
{
color
:[
1
,
1
,
1
],
uv
:[
0
,
0
],
uv2
:[
0
,
0
]};
this
.
index0AttributeName
=
"
position
"
;
this
.
setValues
(
a
)};
THREE
.
ShaderMaterial
.
prototype
=
Object
.
create
(
THREE
.
Material
.
prototype
);
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录