Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
Ablesons
three.js
提交
4ab009d8
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,发现更多精彩内容 >>
提交
4ab009d8
编写于
10月 16, 2017
作者:
W
WestLangley
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Standardized default values
上级
5e6e5bd2
变更
12
隐藏空白更改
内联
并排
Showing
12 changed file
with
28 addition
and
28 deletion
+28
-28
docs/api/geometries/CircleGeometry.html
docs/api/geometries/CircleGeometry.html
+2
-2
docs/api/geometries/CylinderGeometry.html
docs/api/geometries/CylinderGeometry.html
+4
-4
docs/api/geometries/RingGeometry.html
docs/api/geometries/RingGeometry.html
+3
-3
docs/api/geometries/SphereGeometry.html
docs/api/geometries/SphereGeometry.html
+2
-2
docs/api/geometries/TorusGeometry.html
docs/api/geometries/TorusGeometry.html
+3
-3
docs/api/geometries/TorusKnotGeometry.html
docs/api/geometries/TorusKnotGeometry.html
+3
-3
src/geometries/CircleGeometry.js
src/geometries/CircleGeometry.js
+1
-1
src/geometries/CylinderGeometry.js
src/geometries/CylinderGeometry.js
+3
-3
src/geometries/RingGeometry.js
src/geometries/RingGeometry.js
+2
-2
src/geometries/SphereGeometry.js
src/geometries/SphereGeometry.js
+1
-1
src/geometries/TorusGeometry.js
src/geometries/TorusGeometry.js
+2
-2
src/geometries/TorusKnotGeometry.js
src/geometries/TorusKnotGeometry.js
+2
-2
未找到文件。
docs/api/geometries/CircleGeometry.html
浏览文件 @
4ab009d8
<!DOCTYPE html>
<html
lang=
"en"
>
<head>
<meta
charset=
"utf-8"
/>
<meta
charset=
"utf-8"
/>
<base
href=
"../../"
/>
<script
src=
"list.js"
></script>
<script
src=
"page.js"
></script>
...
...
@@ -46,7 +46,7 @@
<h3>
[name]([page:Float radius], [page:Integer segments], [page:Float thetaStart], [page:Float thetaLength])
</h3>
<div>
radius — Radius of the circle, default =
50
.
<br
/>
radius — Radius of the circle, default =
1
.
<br
/>
segments — Number of segments (triangles), minimum = 3, default = 8.
<br
/>
thetaStart — Start angle for first segment, default = 0 (three o'clock position).
<br
/>
thetaLength — The central angle, often called theta, of the circular sector. The default is 2*Pi, which makes for a complete circle.
...
...
docs/api/geometries/CylinderGeometry.html
浏览文件 @
4ab009d8
<!DOCTYPE html>
<html
lang=
"en"
>
<head>
<meta
charset=
"utf-8"
/>
<meta
charset=
"utf-8"
/>
<base
href=
"../../"
/>
<script
src=
"list.js"
></script>
<script
src=
"page.js"
></script>
...
...
@@ -44,9 +44,9 @@
<h3>
[name]([page:Float radiusTop], [page:Float radiusBottom], [page:Float height], [page:Integer radiusSegments], [page:Integer heightSegments], [page:Boolean openEnded], [page:Float thetaStart], [page:Float thetaLength])
</h3>
<div>
radiusTop — Radius of the cylinder at the top. Default is
20
.
<br
/>
radiusBottom — Radius of the cylinder at the bottom. Default is
20
.
<br
/>
height — Height of the cylinder. Default is 1
00
.
<br
/>
radiusTop — Radius of the cylinder at the top. Default is
1
.
<br
/>
radiusBottom — Radius of the cylinder at the bottom. Default is
1
.
<br
/>
height — Height of the cylinder. Default is 1.
<br
/>
radiusSegments — Number of segmented faces around the circumference of the cylinder. Default is 8
<br
/>
heightSegments — Number of rows of faces along the height of the cylinder. Default is 1.
<br
/>
openEnded — A Boolean indicating whether the ends of the cylinder are open or capped. Default is false, meaning capped.
<br
/>
...
...
docs/api/geometries/RingGeometry.html
浏览文件 @
4ab009d8
<!DOCTYPE html>
<html
lang=
"en"
>
<head>
<meta
charset=
"utf-8"
/>
<meta
charset=
"utf-8"
/>
<base
href=
"../../"
/>
<script
src=
"list.js"
></script>
<script
src=
"page.js"
></script>
...
...
@@ -44,8 +44,8 @@
<h3>
[name]([page:Float innerRadius], [page:Float outerRadius], [page:Integer thetaSegments], [page:Integer phiSegments], [page:Float thetaStart], [page:Float thetaLength])
</h3>
<div>
innerRadius — Default is
20
.
<br
/>
outerRadius — Default is
50
.
<br
/>
innerRadius — Default is
0.5
.
<br
/>
outerRadius — Default is
1
.
<br
/>
thetaSegments — Number of segments. A higher number means the ring will be more round. Minimum is 3. Default is 8.
<br
/>
phiSegments — Minimum is 1. Default is 8.
<br
/>
thetaStart — Starting angle. Default is 0.
<br
/>
...
...
docs/api/geometries/SphereGeometry.html
浏览文件 @
4ab009d8
<!DOCTYPE html>
<html
lang=
"en"
>
<head>
<meta
charset=
"utf-8"
/>
<meta
charset=
"utf-8"
/>
<base
href=
"../../"
/>
<script
src=
"list.js"
></script>
<script
src=
"page.js"
></script>
...
...
@@ -45,7 +45,7 @@
<h3>
[name]([page:Float radius], [page:Integer widthSegments], [page:Integer heightSegments], [page:Float phiStart], [page:Float phiLength], [page:Float thetaStart], [page:Float thetaLength])
</h3>
<div>
radius — sphere radius. Default is
50
.
<br
/>
radius — sphere radius. Default is
1
.
<br
/>
widthSegments — number of horizontal segments. Minimum value is 3, and the default is 8.
<br
/>
heightSegments — number of vertical segments. Minimum value is 2, and the default is 6.
<br
/>
phiStart — specify horizontal starting angle. Default is 0.
<br
/>
...
...
docs/api/geometries/TorusGeometry.html
浏览文件 @
4ab009d8
<!DOCTYPE html>
<html
lang=
"en"
>
<head>
<meta
charset=
"utf-8"
/>
<meta
charset=
"utf-8"
/>
<base
href=
"../../"
/>
<script
src=
"list.js"
></script>
<script
src=
"page.js"
></script>
...
...
@@ -44,8 +44,8 @@
<h3>
[name]([page:Float radius], [page:Float tube], [page:Integer radialSegments], [page:Integer tubularSegments], [page:Float arc])
</h3>
<div>
radius — Default is 1
00
.
<br
/>
tube — Diameter of the tube. Default is
40
.
<br
/>
radius — Default is 1.
<br
/>
tube — Diameter of the tube. Default is
0.4
.
<br
/>
radialSegments — Default is 8
<br
/>
tubularSegments — Default is 6.
<br
/>
arc — Central angle. Default is Math.PI * 2.
...
...
docs/api/geometries/TorusKnotGeometry.html
浏览文件 @
4ab009d8
<!DOCTYPE html>
<html
lang=
"en"
>
<head>
<meta
charset=
"utf-8"
/>
<meta
charset=
"utf-8"
/>
<base
href=
"../../"
/>
<script
src=
"list.js"
></script>
<script
src=
"page.js"
></script>
...
...
@@ -45,8 +45,8 @@
<h3>
[name]([page:Float radius], [page:Float tube], [page:Integer tubularSegments], [page:Integer radialSegments], [page:Integer p], [page:Integer q])
</h3>
<div>
<ul>
<li>
radius — Default is 1
00
.
</li>
<li>
tube — Diameter of the tube. Default is
40
.
</li>
<li>
radius — Default is 1.
</li>
<li>
tube — Diameter of the tube. Default is
0.4
.
</li>
<li>
tubularSegments — Default is 64.
</li>
<li>
radialSegments — Default is 8.
</li>
<li>
p — This value determines, how many times the geometry winds around its axis of rotational symmetry. Default is 2.
</li>
...
...
src/geometries/CircleGeometry.js
浏览文件 @
4ab009d8
...
...
@@ -48,7 +48,7 @@ function CircleBufferGeometry( radius, segments, thetaStart, thetaLength ) {
thetaLength
:
thetaLength
};
radius
=
radius
||
50
;
radius
=
radius
||
1
;
segments
=
segments
!==
undefined
?
Math
.
max
(
3
,
segments
)
:
8
;
thetaStart
=
thetaStart
!==
undefined
?
thetaStart
:
0
;
...
...
src/geometries/CylinderGeometry.js
浏览文件 @
4ab009d8
...
...
@@ -57,9 +57,9 @@ function CylinderBufferGeometry( radiusTop, radiusBottom, height, radialSegments
var
scope
=
this
;
radiusTop
=
radiusTop
!==
undefined
?
radiusTop
:
20
;
radiusBottom
=
radiusBottom
!==
undefined
?
radiusBottom
:
20
;
height
=
height
!==
undefined
?
height
:
100
;
radiusTop
=
radiusTop
!==
undefined
?
radiusTop
:
1
;
radiusBottom
=
radiusBottom
!==
undefined
?
radiusBottom
:
1
;
height
=
height
||
1
;
radialSegments
=
Math
.
floor
(
radialSegments
)
||
8
;
heightSegments
=
Math
.
floor
(
heightSegments
)
||
1
;
...
...
src/geometries/RingGeometry.js
浏览文件 @
4ab009d8
...
...
@@ -51,8 +51,8 @@ function RingBufferGeometry( innerRadius, outerRadius, thetaSegments, phiSegment
thetaLength
:
thetaLength
};
innerRadius
=
innerRadius
||
20
;
outerRadius
=
outerRadius
||
50
;
innerRadius
=
innerRadius
||
0.5
;
outerRadius
=
outerRadius
||
1
;
thetaStart
=
thetaStart
!==
undefined
?
thetaStart
:
0
;
thetaLength
=
thetaLength
!==
undefined
?
thetaLength
:
Math
.
PI
*
2
;
...
...
src/geometries/SphereGeometry.js
浏览文件 @
4ab009d8
...
...
@@ -53,7 +53,7 @@ function SphereBufferGeometry( radius, widthSegments, heightSegments, phiStart,
thetaLength
:
thetaLength
};
radius
=
radius
||
50
;
radius
=
radius
||
1
;
widthSegments
=
Math
.
max
(
3
,
Math
.
floor
(
widthSegments
)
||
8
);
heightSegments
=
Math
.
max
(
2
,
Math
.
floor
(
heightSegments
)
||
6
);
...
...
src/geometries/TorusGeometry.js
浏览文件 @
4ab009d8
...
...
@@ -49,8 +49,8 @@ function TorusBufferGeometry( radius, tube, radialSegments, tubularSegments, arc
arc
:
arc
};
radius
=
radius
||
1
00
;
tube
=
tube
||
40
;
radius
=
radius
||
1
;
tube
=
tube
||
0.4
;
radialSegments
=
Math
.
floor
(
radialSegments
)
||
8
;
tubularSegments
=
Math
.
floor
(
tubularSegments
)
||
6
;
arc
=
arc
||
Math
.
PI
*
2
;
...
...
src/geometries/TorusKnotGeometry.js
浏览文件 @
4ab009d8
...
...
@@ -54,8 +54,8 @@ function TorusKnotBufferGeometry( radius, tube, tubularSegments, radialSegments,
q
:
q
};
radius
=
radius
||
1
00
;
tube
=
tube
||
40
;
radius
=
radius
||
1
;
tube
=
tube
||
0.4
;
tubularSegments
=
Math
.
floor
(
tubularSegments
)
||
64
;
radialSegments
=
Math
.
floor
(
radialSegments
)
||
8
;
p
=
p
||
2
;
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录