Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
车家大少爷
three.js
提交
75d26d61
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,发现更多精彩内容 >>
提交
75d26d61
编写于
12月 16, 2018
作者:
G
gogoend
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Some fixes.
上级
eb44f5a9
变更
14
隐藏空白更改
内联
并排
Showing
14 changed file
with
20 addition
and
22 deletion
+20
-22
docs/api/zh/extras/curves/CatmullRomCurve3.html
docs/api/zh/extras/curves/CatmullRomCurve3.html
+1
-1
docs/api/zh/extras/curves/CubicBezierCurve.html
docs/api/zh/extras/curves/CubicBezierCurve.html
+1
-1
docs/api/zh/extras/curves/CubicBezierCurve3.html
docs/api/zh/extras/curves/CubicBezierCurve3.html
+1
-1
docs/api/zh/extras/curves/QuadraticBezierCurve.html
docs/api/zh/extras/curves/QuadraticBezierCurve.html
+1
-1
docs/api/zh/extras/curves/QuadraticBezierCurve3.html
docs/api/zh/extras/curves/QuadraticBezierCurve3.html
+1
-1
docs/api/zh/geometries/CircleBufferGeometry.html
docs/api/zh/geometries/CircleBufferGeometry.html
+1
-1
docs/api/zh/geometries/LatheBufferGeometry.html
docs/api/zh/geometries/LatheBufferGeometry.html
+1
-1
docs/api/zh/geometries/PlaneBufferGeometry.html
docs/api/zh/geometries/PlaneBufferGeometry.html
+1
-1
docs/api/zh/geometries/SphereGeometry.html
docs/api/zh/geometries/SphereGeometry.html
+1
-1
docs/api/zh/geometries/TorusGeometry.html
docs/api/zh/geometries/TorusGeometry.html
+1
-1
docs/api/zh/geometries/TorusKnotBufferGeometry.html
docs/api/zh/geometries/TorusKnotBufferGeometry.html
+1
-1
docs/api/zh/math/Matrix4.html
docs/api/zh/math/Matrix4.html
+1
-1
docs/api/zh/math/Ray.html
docs/api/zh/math/Ray.html
+5
-6
docs/api/zh/math/Sphere.html
docs/api/zh/math/Sphere.html
+3
-4
未找到文件。
docs/api/zh/extras/curves/CatmullRomCurve3.html
浏览文件 @
75d26d61
...
...
@@ -14,7 +14,7 @@
<p
class=
"desc"
>
使用[link:https://en.wikipedia.org/wiki/Centripetal_Catmull-Rom_spline Catmull-Rom]算法,
从一系列的点创建一条
光
滑的三维样条曲线。
</p>
从一系列的点创建一条
平
滑的三维样条曲线。
</p>
<h2>
示例
</h2>
...
...
docs/api/zh/extras/curves/CubicBezierCurve.html
浏览文件 @
75d26d61
...
...
@@ -13,7 +13,7 @@
<h1>
二维三次贝塞尔曲线([name])
</h1>
<p
class=
"desc"
>
创建一条
光
滑的二维
创建一条
平
滑的二维
<a
href=
"http://en.wikipedia.org/wiki/B%C3%A9zier_curve#mediaviewer/File:Bezier_curve.svg"
target=
"_blank"
>
三次贝塞尔曲线
</a>
,
由起点、终点和两个控制点所定义。
</p>
...
...
docs/api/zh/extras/curves/CubicBezierCurve3.html
浏览文件 @
75d26d61
...
...
@@ -13,7 +13,7 @@
<h1>
三维三次贝塞尔曲线([name])
</h1>
<p
class=
"desc"
>
创建一条
光
滑的三维
创建一条
平
滑的三维
<a
href=
"http://en.wikipedia.org/wiki/B%C3%A9zier_curve#mediaviewer/File:Bezier_curve.svg"
target=
"_blank"
>
三次贝塞尔曲线
</a>
,
由起点、终点和两个控制点所定义。
</p>
...
...
docs/api/zh/extras/curves/QuadraticBezierCurve.html
浏览文件 @
75d26d61
...
...
@@ -13,7 +13,7 @@
<h1>
二维二次贝塞尔曲线([name])
</h1>
<p
class=
"desc"
>
创建一条
光
滑的二维
创建一条
平
滑的二维
<a
href=
"http://en.wikipedia.org/wiki/B%C3%A9zier_curve#mediaviewer/File:B%C3%A9zier_2_big.gif"
target=
"_blank"
>
二次贝塞尔曲线
</a>
,
由起点、终点和一个控制点所定义。
</p>
...
...
docs/api/zh/extras/curves/QuadraticBezierCurve3.html
浏览文件 @
75d26d61
...
...
@@ -13,7 +13,7 @@
<h1>
三维二次贝塞尔曲线([name])
</h1>
<p
class=
"desc"
>
创建一条
光
滑的三维
创建一条
平
滑的三维
<a
href=
"http://en.wikipedia.org/wiki/B%C3%A9zier_curve#mediaviewer/File:B%C3%A9zier_2_big.gif"
target=
"_blank"
>
二次贝塞尔曲线
</a>
,
由起点、终点和一个控制点所定义。
</p>
...
...
docs/api/zh/geometries/CircleBufferGeometry.html
浏览文件 @
75d26d61
...
...
@@ -10,7 +10,7 @@
<body>
[page:BufferGeometry]
→
<h1>
圆形缓冲几何体
[name]
</h1>
<h1>
圆形缓冲几何体
([name])
</h1>
<p
class=
"desc"
>
这是[page:CircleGeometry]中的[page:BufferGeometry]接口。
</p>
...
...
docs/api/zh/geometries/LatheBufferGeometry.html
浏览文件 @
75d26d61
...
...
@@ -10,7 +10,7 @@
<body>
[page:BufferGeometry]
→
<h1>
[name]
</h1>
<h1>
车削缓冲几何体([name])
</h1>
<p
class=
"desc"
>
这是[page:LatheGeometry]中的[page:BufferGeometry]接口。
</p>
...
...
docs/api/zh/geometries/PlaneBufferGeometry.html
浏览文件 @
75d26d61
...
...
@@ -10,7 +10,7 @@
<body>
[page:BufferGeometry]
→
<h1>
[name]
</h1>
<h1>
平面缓冲几何体([name])
</h1>
<p
class=
"desc"
>
这是[page:PlaneGeometry]中的[page:BufferGeometry]接口。
</p>
...
...
docs/api/zh/geometries/SphereGeometry.html
浏览文件 @
75d26d61
...
...
@@ -10,7 +10,7 @@
<body>
[page:Geometry]
→
<h1>
球几何体
[name]
</h1>
<h1>
球几何体
([name])
</h1>
<p
class=
"desc"
>
一个用于生成球体的类。
</p>
...
...
docs/api/zh/geometries/TorusGeometry.html
浏览文件 @
75d26d61
...
...
@@ -10,7 +10,7 @@
<body>
[page:Geometry]
→
<h1>
圆环几何体
[name]
</h1>
<h1>
圆环几何体
([name])
</h1>
<p
class=
"desc"
>
一个用于生成圆环几何体的类。
</p>
...
...
docs/api/zh/geometries/TorusKnotBufferGeometry.html
浏览文件 @
75d26d61
...
...
@@ -10,7 +10,7 @@
<body>
[page:BufferGeometry]
→
<h1>
[name]
</h1>
<h1>
圆环缓冲几何体([name])
</h1>
<p
class=
"desc"
>
This is the [page:BufferGeometry] port of [page:TorusKnotGeometry].
</p>
...
...
docs/api/zh/math/Matrix4.html
浏览文件 @
75d26d61
...
...
@@ -8,7 +8,7 @@
<link
type=
"text/css"
rel=
"stylesheet"
href=
"page.css"
/>
</head>
<body>
<h1>
四维矩阵([name]
</h1>
<h1>
四维矩阵([name]
)
</h1>
<p
class=
"desc"
>
表示为一个 4x4 [link:https://en.wikipedia.org/wiki/Matrix_(mathematics) matrix].
<br
/><br
/>
...
...
docs/api/zh/math/Ray.html
浏览文件 @
75d26d61
...
...
@@ -67,8 +67,8 @@
<h3>
[method:Vector3 closestPointToPoint]( [param:Vector3 point], [param:Vector3 target] )
</h3>
<p>
[page:Vector3 point] -
the point to get the closest approach to.
<br
/>
[page:Vector3 target] —
the result will be copied into this Vector3.
<br
/><br
/>
[page:Vector3 point] -
获得距离射线上的点最接近的点。
<br
/>
[page:Vector3 target] —
结果将复制到这一Vector3中。
<br
/><br
/>
沿着[page:Ray],获得与所传入[page:Vector3]最接近的点。
</p>
...
...
@@ -107,8 +107,7 @@
<p>
[page:Vector3 point] - [page:Vector3] 将被用于计算到其距离的[page:Vector3]。
<br
/><br
/>
获得射线到所传入[page:Vector3 point]之间最接近的距离。
Get the distance of the closest approach between the [page:Ray] and the [page:Vector3 point].
获得[page:Ray](射线)到所传入[page:Vector3 point]之间最接近的距离。
</p>
...
...
@@ -182,9 +181,9 @@
<h3>
[method:Ray recast]( [param:Float t] )
</h3>
<p>
[page:Float t] -
The distance along the [page:Ray] to interpolate.
<br
/><br
/>
[page:Float t] -
沿着[page:Ray]进行插值的距离。
<br
/><br
/>
Shift the origin of this [page:Ray] along its direction by the distance given.
将[page:Ray](射线)的原点沿着其方向移动给定的距离。
</p>
<h3>
[method:Ray set]( [param:Vector3 origin], [param:Vector3 direction] )
</h3>
...
...
docs/api/zh/math/Sphere.html
浏览文件 @
75d26d61
...
...
@@ -117,11 +117,10 @@
<h3>
[method:Sphere setFromPoints]( [param:Array points], [param:Vector3 optionalCenter] )
</h3>
<p>
[page:Array points] - 一个包含有[page:Vector3]位置的[page:Array]。
<br
/>
[page:Vector3 optionalCenter] - 可选, [page:Vector3]
position for the sphere's center.
<br
/><br
/>
[page:Vector3 optionalCenter] - 可选, [page:Vector3]
球心位置。
<br
/><br
/>
Computes the minimum bounding sphere for an array of [page:Array points]. If [page:Vector3 optionalCenter]is given,
it is used as the sphere's center. Otherwise, the center of the axis-aligned bounding box encompassing
[page:Array points] is calculated.
计算一个[page:Array points]数组(中的点)的最小边界球。如果给定了[page:Vector3 optionalCenter],则它将被用作该球的球心;
否则,环绕[page:Array points]的包围盒的轴心将通过计算来得到。
</p>
<h3>
[method:Sphere translate]( [param:Vector3 offset] )
</h3>
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录