Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
车家大少爷
three.js
提交
019ebd15
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,发现更多精彩内容 >>
提交
019ebd15
编写于
3月 06, 2018
作者:
I
Ivo Elbert
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
changed radiusSegments to radialSegments in geometries documentation
上级
ad227614
变更
1
隐藏空白更改
内联
并排
Showing
1 changed file
with
18 addition
and
18 deletion
+18
-18
docs/scenes/js/geometry.js
docs/scenes/js/geometry.js
+18
-18
未找到文件。
docs/scenes/js/geometry.js
浏览文件 @
019ebd15
...
...
@@ -127,7 +127,7 @@ var guis = {
radiusTop
:
5
,
radiusBottom
:
5
,
height
:
10
,
radi
us
Segments
:
8
,
radi
al
Segments
:
8
,
heightSegments
:
1
,
openEnded
:
false
,
thetaStart
:
0
,
...
...
@@ -141,7 +141,7 @@ var guis = {
data
.
radiusTop
,
data
.
radiusBottom
,
data
.
height
,
data
.
radi
us
Segments
,
data
.
radi
al
Segments
,
data
.
heightSegments
,
data
.
openEnded
,
data
.
thetaStart
,
...
...
@@ -156,7 +156,7 @@ var guis = {
folder
.
add
(
data
,
'
radiusTop
'
,
0
,
30
).
onChange
(
generateGeometry
);
folder
.
add
(
data
,
'
radiusBottom
'
,
0
,
30
).
onChange
(
generateGeometry
);
folder
.
add
(
data
,
'
height
'
,
1
,
50
).
onChange
(
generateGeometry
);
folder
.
add
(
data
,
'
radi
us
Segments
'
,
3
,
64
).
step
(
1
).
onChange
(
generateGeometry
);
folder
.
add
(
data
,
'
radi
al
Segments
'
,
3
,
64
).
step
(
1
).
onChange
(
generateGeometry
);
folder
.
add
(
data
,
'
heightSegments
'
,
1
,
64
).
step
(
1
).
onChange
(
generateGeometry
);
folder
.
add
(
data
,
'
openEnded
'
).
onChange
(
generateGeometry
);
folder
.
add
(
data
,
'
thetaStart
'
,
0
,
twoPi
).
onChange
(
generateGeometry
);
...
...
@@ -173,7 +173,7 @@ var guis = {
radiusTop
:
5
,
radiusBottom
:
5
,
height
:
10
,
radi
us
Segments
:
8
,
radi
al
Segments
:
8
,
heightSegments
:
1
,
openEnded
:
false
,
thetaStart
:
0
,
...
...
@@ -187,7 +187,7 @@ var guis = {
data
.
radiusTop
,
data
.
radiusBottom
,
data
.
height
,
data
.
radi
us
Segments
,
data
.
radi
al
Segments
,
data
.
heightSegments
,
data
.
openEnded
,
data
.
thetaStart
,
...
...
@@ -202,7 +202,7 @@ var guis = {
folder
.
add
(
data
,
'
radiusTop
'
,
1
,
30
).
onChange
(
generateGeometry
);
folder
.
add
(
data
,
'
radiusBottom
'
,
1
,
30
).
onChange
(
generateGeometry
);
folder
.
add
(
data
,
'
height
'
,
1
,
50
).
onChange
(
generateGeometry
);
folder
.
add
(
data
,
'
radi
us
Segments
'
,
3
,
64
).
step
(
1
).
onChange
(
generateGeometry
);
folder
.
add
(
data
,
'
radi
al
Segments
'
,
3
,
64
).
step
(
1
).
onChange
(
generateGeometry
);
folder
.
add
(
data
,
'
heightSegments
'
,
1
,
64
).
step
(
1
).
onChange
(
generateGeometry
);
folder
.
add
(
data
,
'
openEnded
'
).
onChange
(
generateGeometry
);
folder
.
add
(
data
,
'
thetaStart
'
,
0
,
twoPi
).
onChange
(
generateGeometry
);
...
...
@@ -218,7 +218,7 @@ var guis = {
var
data
=
{
radius
:
5
,
height
:
10
,
radi
us
Segments
:
8
,
radi
al
Segments
:
8
,
heightSegments
:
1
,
openEnded
:
false
,
thetaStart
:
0
,
...
...
@@ -231,7 +231,7 @@ var guis = {
new
THREE
.
ConeBufferGeometry
(
data
.
radius
,
data
.
height
,
data
.
radi
us
Segments
,
data
.
radi
al
Segments
,
data
.
heightSegments
,
data
.
openEnded
,
data
.
thetaStart
,
...
...
@@ -245,7 +245,7 @@ var guis = {
folder
.
add
(
data
,
'
radius
'
,
0
,
30
).
onChange
(
generateGeometry
);
folder
.
add
(
data
,
'
height
'
,
1
,
50
).
onChange
(
generateGeometry
);
folder
.
add
(
data
,
'
radi
us
Segments
'
,
3
,
64
).
step
(
1
).
onChange
(
generateGeometry
);
folder
.
add
(
data
,
'
radi
al
Segments
'
,
3
,
64
).
step
(
1
).
onChange
(
generateGeometry
);
folder
.
add
(
data
,
'
heightSegments
'
,
1
,
64
).
step
(
1
).
onChange
(
generateGeometry
);
folder
.
add
(
data
,
'
openEnded
'
).
onChange
(
generateGeometry
);
folder
.
add
(
data
,
'
thetaStart
'
,
0
,
twoPi
).
onChange
(
generateGeometry
);
...
...
@@ -261,7 +261,7 @@ var guis = {
var
data
=
{
radius
:
5
,
height
:
10
,
radi
us
Segments
:
8
,
radi
al
Segments
:
8
,
heightSegments
:
1
,
openEnded
:
false
,
thetaStart
:
0
,
...
...
@@ -274,7 +274,7 @@ var guis = {
new
THREE
.
ConeGeometry
(
data
.
radius
,
data
.
height
,
data
.
radi
us
Segments
,
data
.
radi
al
Segments
,
data
.
heightSegments
,
data
.
openEnded
,
data
.
thetaStart
,
...
...
@@ -288,7 +288,7 @@ var guis = {
folder
.
add
(
data
,
'
radius
'
,
0
,
30
).
onChange
(
generateGeometry
);
folder
.
add
(
data
,
'
height
'
,
1
,
50
).
onChange
(
generateGeometry
);
folder
.
add
(
data
,
'
radi
us
Segments
'
,
3
,
64
).
step
(
1
).
onChange
(
generateGeometry
);
folder
.
add
(
data
,
'
radi
al
Segments
'
,
3
,
64
).
step
(
1
).
onChange
(
generateGeometry
);
folder
.
add
(
data
,
'
heightSegments
'
,
1
,
64
).
step
(
1
).
onChange
(
generateGeometry
);
folder
.
add
(
data
,
'
openEnded
'
).
onChange
(
generateGeometry
);
folder
.
add
(
data
,
'
thetaStart
'
,
0
,
twoPi
).
onChange
(
generateGeometry
);
...
...
@@ -1165,7 +1165,7 @@ var guis = {
var
data
=
{
segments
:
20
,
radius
:
2
,
radi
us
Segments
:
8
radi
al
Segments
:
8
};
var
path
=
new
CustomSinCurve
(
10
);
...
...
@@ -1173,7 +1173,7 @@ var guis = {
function
generateGeometry
()
{
updateGroupGeometry
(
mesh
,
new
THREE
.
TubeGeometry
(
path
,
data
.
segments
,
data
.
radius
,
data
.
radi
us
Segments
,
false
)
new
THREE
.
TubeGeometry
(
path
,
data
.
segments
,
data
.
radius
,
data
.
radi
al
Segments
,
false
)
);
}
...
...
@@ -1182,7 +1182,7 @@ var guis = {
folder
.
add
(
data
,
'
segments
'
,
1
,
100
).
step
(
1
).
onChange
(
generateGeometry
);
folder
.
add
(
data
,
'
radius
'
,
1
,
10
).
onChange
(
generateGeometry
);
folder
.
add
(
data
,
'
radi
us
Segments
'
,
1
,
20
).
step
(
1
).
onChange
(
generateGeometry
);
folder
.
add
(
data
,
'
radi
al
Segments
'
,
1
,
20
).
step
(
1
).
onChange
(
generateGeometry
);
generateGeometry
();
...
...
@@ -1193,7 +1193,7 @@ var guis = {
var
data
=
{
segments
:
20
,
radius
:
2
,
radi
us
Segments
:
8
radi
al
Segments
:
8
};
var
path
=
new
CustomSinCurve
(
10
);
...
...
@@ -1201,7 +1201,7 @@ var guis = {
function
generateGeometry
()
{
updateGroupGeometry
(
mesh
,
new
THREE
.
TubeBufferGeometry
(
path
,
data
.
segments
,
data
.
radius
,
data
.
radi
us
Segments
,
false
)
new
THREE
.
TubeBufferGeometry
(
path
,
data
.
segments
,
data
.
radius
,
data
.
radi
al
Segments
,
false
)
);
}
...
...
@@ -1210,7 +1210,7 @@ var guis = {
folder
.
add
(
data
,
'
segments
'
,
1
,
100
).
step
(
1
).
onChange
(
generateGeometry
);
folder
.
add
(
data
,
'
radius
'
,
1
,
10
).
onChange
(
generateGeometry
);
folder
.
add
(
data
,
'
radi
us
Segments
'
,
1
,
20
).
step
(
1
).
onChange
(
generateGeometry
);
folder
.
add
(
data
,
'
radi
al
Segments
'
,
1
,
20
).
step
(
1
).
onChange
(
generateGeometry
);
generateGeometry
();
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录