Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
Ablesons
three.js
提交
cfe32fbf
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,体验更适合开发者的 AI 搜索 >>
提交
cfe32fbf
编写于
2月 10, 2020
作者:
M
Mugen87
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Docs: Clean up.
上级
76d16bd8
变更
20
隐藏空白更改
内联
并排
Showing
20 changed file
with
67 addition
and
62 deletion
+67
-62
docs/api/en/audio/PositionalAudio.html
docs/api/en/audio/PositionalAudio.html
+1
-1
docs/api/en/extras/core/Interpolations.html
docs/api/en/extras/core/Interpolations.html
+1
-1
docs/api/en/extras/core/Path.html
docs/api/en/extras/core/Path.html
+9
-9
docs/api/en/extras/core/Shape.html
docs/api/en/extras/core/Shape.html
+1
-1
docs/api/en/extras/core/ShapePath.html
docs/api/en/extras/core/ShapePath.html
+3
-2
docs/api/en/helpers/BoxHelper.html
docs/api/en/helpers/BoxHelper.html
+4
-4
docs/api/en/objects/Line.html
docs/api/en/objects/Line.html
+8
-7
docs/api/en/objects/Sprite.html
docs/api/en/objects/Sprite.html
+1
-1
docs/api/zh/audio/PositionalAudio.html
docs/api/zh/audio/PositionalAudio.html
+1
-1
docs/api/zh/extras/core/Interpolations.html
docs/api/zh/extras/core/Interpolations.html
+1
-1
docs/api/zh/extras/core/Path.html
docs/api/zh/extras/core/Path.html
+9
-9
docs/api/zh/extras/core/Shape.html
docs/api/zh/extras/core/Shape.html
+1
-1
docs/api/zh/extras/core/ShapePath.html
docs/api/zh/extras/core/ShapePath.html
+3
-2
docs/api/zh/helpers/BoxHelper.html
docs/api/zh/helpers/BoxHelper.html
+4
-4
docs/api/zh/objects/Line.html
docs/api/zh/objects/Line.html
+8
-7
docs/api/zh/objects/Sprite.html
docs/api/zh/objects/Sprite.html
+1
-1
docs/examples/en/helpers/VertexNormalsHelper.html
docs/examples/en/helpers/VertexNormalsHelper.html
+1
-1
docs/examples/en/math/Lut.html
docs/examples/en/math/Lut.html
+5
-4
docs/examples/zh/helpers/VertexNormalsHelper.html
docs/examples/zh/helpers/VertexNormalsHelper.html
+1
-1
docs/examples/zh/math/Lut.html
docs/examples/zh/math/Lut.html
+4
-4
未找到文件。
docs/api/en/audio/PositionalAudio.html
浏览文件 @
cfe32fbf
...
...
@@ -44,7 +44,7 @@
});
// create an object for the sound to play from
var sphere = new THREE.SphereGeometry( 20, 32, 16 );
var sphere = new THREE.Sphere
Buffer
Geometry( 20, 32, 16 );
var material = new THREE.MeshPhongMaterial( { color: 0xff2200 } );
var mesh = new THREE.Mesh( sphere, material );
scene.add( mesh );
...
...
docs/api/en/extras/core/Interpolations.html
浏览文件 @
cfe32fbf
...
...
@@ -11,7 +11,7 @@
<h1>
[name]
</h1>
<p
class=
"desc"
>
TODO
[name] contains spline and Bézier functions internally used by concrete curve classes.
</p>
<h2>
Methods
</h2>
...
...
docs/api/en/extras/core/Path.html
浏览文件 @
cfe32fbf
...
...
@@ -19,19 +19,19 @@
<h2>
Example
</h2>
<code>
var path = new THREE.Path();
var path = new THREE.Path();
path.lineTo( 0, 0.8 );
path.quadraticCurveTo( 0, 1, 0.2, 1 );
path.lineTo( 1, 1 );
path.lineTo( 0, 0.8 );
path.quadraticCurveTo( 0, 1, 0.2, 1 );
path.lineTo( 1, 1 );
var points = path.getPoints();
var points = path.getPoints();
var geometry = new THREE.BufferGeometry().setFromPoints( points );
var material = new THREE.LineBasicMaterial( { color: 0xffffff } );
var geometry = new THREE.BufferGeometry().setFromPoints( points );
var material = new THREE.LineBasicMaterial( { color: 0xffffff } );
var line = new THREE.Line( geometry, material );
scene.add( line );
var line = new THREE.Line( geometry, material );
scene.add( line );
</code>
...
...
docs/api/en/extras/core/Shape.html
浏览文件 @
cfe32fbf
...
...
@@ -30,7 +30,7 @@
var extrudeSettings = { amount: 8, bevelEnabled: true, bevelSegments: 2, steps: 2, bevelSize: 1, bevelThickness: 1 };
var geometry = new THREE.ExtrudeGeometry( heartShape, extrudeSettings );
var geometry = new THREE.Extrude
Buffer
Geometry( heartShape, extrudeSettings );
var mesh = new THREE.Mesh( geometry, new THREE.MeshPhongMaterial() );
</code>
...
...
docs/api/en/extras/core/ShapePath.html
浏览文件 @
cfe32fbf
...
...
@@ -17,8 +17,9 @@
</p>
<h2>
Example
</h2>
[example:webgl_geometry_extrude_shapes2 geometry / extrude / shapes2]
<p>
[example:webgl_geometry_extrude_shapes2 geometry / extrude / shapes2]
</p>
<h2>
Constructor
</h2>
...
...
docs/api/en/helpers/BoxHelper.html
浏览文件 @
cfe32fbf
...
...
@@ -28,10 +28,10 @@
</p>
<code>
var sphere = new THREE.Sphere
Geometry();
var object = new THREE.Mesh( sphere, new THREE.MeshBasicMaterial( 0xff0000 ) );
var box = new THREE.BoxHelper( object, 0xffff00 );
scene.add( box );
var sphere = new THREE.SphereBuffer
Geometry();
var object = new THREE.Mesh( sphere, new THREE.MeshBasicMaterial( 0xff0000 ) );
var box = new THREE.BoxHelper( object, 0xffff00 );
scene.add( box );
</code>
...
...
docs/api/en/objects/Line.html
浏览文件 @
cfe32fbf
...
...
@@ -25,16 +25,17 @@
<h2>
Example
</h2>
<code>
var material = new THREE.LineBasicMaterial({
<code>
var material = new THREE.LineBasicMaterial({
color: 0x0000ff
});
var
geometry = new THREE.Geometry()
;
geometry.vertices.push(
new THREE.Vector3( -10, 0, 0 ),
new THREE.Vector3( 0, 10, 0 ),
new THREE.Vector3( 10, 0, 0 )
);
var
points = []
;
points.push( new THREE.Vector3( - 10, 0, 0 ) );
points.push( new THREE.Vector3( 0, 10, 0 ) );
points.push( new THREE.Vector3( 10, 0, 0 ) );
var geometry = new THREE.BufferGeometry().setFromPoints( points
);
var line = new THREE.Line( geometry, material );
scene.add( line );
...
...
docs/api/en/objects/Sprite.html
浏览文件 @
cfe32fbf
...
...
@@ -23,7 +23,7 @@
<code>
var spriteMap = new THREE.TextureLoader().load( "sprite.png" );
var spriteMaterial = new THREE.SpriteMaterial( { map: spriteMap
, color: 0xffffff
} );
var spriteMaterial = new THREE.SpriteMaterial( { map: spriteMap } );
var sprite = new THREE.Sprite( spriteMaterial );
scene.add( sprite );
</code>
...
...
docs/api/zh/audio/PositionalAudio.html
浏览文件 @
cfe32fbf
...
...
@@ -44,7 +44,7 @@
});
// create an object for the sound to play from
var sphere = new THREE.SphereGeometry( 20, 32, 16 );
var sphere = new THREE.Sphere
Buffer
Geometry( 20, 32, 16 );
var material = new THREE.MeshPhongMaterial( { color: 0xff2200 } );
var mesh = new THREE.Mesh( sphere, material );
scene.add( mesh );
...
...
docs/api/zh/extras/core/Interpolations.html
浏览文件 @
cfe32fbf
...
...
@@ -11,7 +11,7 @@
<h1>
插值([name])
</h1>
<p
class=
"desc"
>
TODO
[name] contains spline and Bézier functions internally used by concrete curve classes.
</p>
<h2>
方法
</h2>
...
...
docs/api/zh/extras/core/Path.html
浏览文件 @
cfe32fbf
...
...
@@ -19,19 +19,19 @@
<h2>
示例
</h2>
<code>
var path = new THREE.Path();
var path = new THREE.Path();
path.lineTo( 0, 0.8 );
path.quadraticCurveTo( 0, 1, 0.2, 1 );
path.lineTo( 1, 1 );
path.lineTo( 0, 0.8 );
path.quadraticCurveTo( 0, 1, 0.2, 1 );
path.lineTo( 1, 1 );
var points = path.getPoints();
var points = path.getPoints();
var geometry = new THREE.BufferGeometry().setFromPoints( points );
var material = new THREE.LineBasicMaterial( { color: 0xffffff } );
var geometry = new THREE.BufferGeometry().setFromPoints( points );
var material = new THREE.LineBasicMaterial( { color: 0xffffff } );
var line = new THREE.Line( geometry, material );
scene.add( line );
var line = new THREE.Line( geometry, material );
scene.add( line );
</code>
...
...
docs/api/zh/extras/core/Shape.html
浏览文件 @
cfe32fbf
...
...
@@ -30,7 +30,7 @@
var extrudeSettings = { amount: 8, bevelEnabled: true, bevelSegments: 2, steps: 2, bevelSize: 1, bevelThickness: 1 };
var geometry = new THREE.ExtrudeGeometry( heartShape, extrudeSettings );
var geometry = new THREE.Extrude
Buffer
Geometry( heartShape, extrudeSettings );
var mesh = new THREE.Mesh( geometry, new THREE.MeshPhongMaterial() );
</code>
...
...
docs/api/zh/extras/core/ShapePath.html
浏览文件 @
cfe32fbf
...
...
@@ -16,8 +16,9 @@
</p>
<h2>
示例
</h2>
[example:webgl_geometry_extrude_shapes2 geometry / extrude / shapes2]
<p>
[example:webgl_geometry_extrude_shapes2 geometry / extrude / shapes2]
</p>
<h2>
构造函数
</h2>
...
...
docs/api/zh/helpers/BoxHelper.html
浏览文件 @
cfe32fbf
...
...
@@ -29,10 +29,10 @@
</p>
<code>
var sphere = new THREE.Sphere
Geometry();
var object = new THREE.Mesh( sphere, new THREE.MeshBasicMaterial( 0xff0000 ) );
var box = new THREE.BoxHelper( object, 0xffff00 );
scene.add( box );
var sphere = new THREE.SphereBuffer
Geometry();
var object = new THREE.Mesh( sphere, new THREE.MeshBasicMaterial( 0xff0000 ) );
var box = new THREE.BoxHelper( object, 0xffff00 );
scene.add( box );
</code>
...
...
docs/api/zh/objects/Line.html
浏览文件 @
cfe32fbf
...
...
@@ -22,16 +22,17 @@
<h2>
示例
</h2>
<code>
var material = new THREE.LineBasicMaterial({
<code>
var material = new THREE.LineBasicMaterial({
color: 0x0000ff
});
var
geometry = new THREE.Geometry()
;
geometry.vertices.push(
new THREE.Vector3( -10, 0, 0 ),
new THREE.Vector3( 0, 10, 0 ),
new THREE.Vector3( 10, 0, 0 )
);
var
points = []
;
points.push( new THREE.Vector3( - 10, 0, 0 ) );
points.push( new THREE.Vector3( 0, 10, 0 ) );
points.push( new THREE.Vector3( 10, 0, 0 ) );
var geometry = new THREE.BufferGeometry().setFromPoints( points
);
var line = new THREE.Line( geometry, material );
scene.add( line );
...
...
docs/api/zh/objects/Sprite.html
浏览文件 @
cfe32fbf
...
...
@@ -21,7 +21,7 @@
<code>
var spriteMap = new THREE.TextureLoader().load( "sprite.png" );
var spriteMaterial = new THREE.SpriteMaterial( { map: spriteMap
, color: 0xffffff
} );
var spriteMaterial = new THREE.SpriteMaterial( { map: spriteMap } );
var sprite = new THREE.Sprite( spriteMaterial );
scene.add( sprite );
</code>
...
...
docs/examples/en/helpers/VertexNormalsHelper.html
浏览文件 @
cfe32fbf
...
...
@@ -26,7 +26,7 @@
</p>
<code>
var geometry = new THREE.BoxGeometry( 10, 10, 10, 2, 2, 2 );
var geometry = new THREE.Box
Buffer
Geometry( 10, 10, 10, 2, 2, 2 );
var material = new THREE.MeshBasicMaterial( { color: 0xff0000 } );
var box = new THREE.Mesh( geometry, material );
...
...
docs/examples/en/math/Lut.html
浏览文件 @
cfe32fbf
...
...
@@ -16,10 +16,11 @@
<h2>
Example
</h2>
<code>
var lut = new THREE.Lut( "rainbow", 512 );
</code>
<code>
var data = [0, 10.1, 4.2, 3.4, 63, 28];
</code>
<code>
lut.setMax(63);
</code>
<code>
color = lut.getColor(10);
</code>
<code>
var lut = new THREE.Lut( 'rainbow', 512 );
var color = lut.getColor( 0.5 );
</code>
<h2>
Constructor
</h2>
...
...
docs/examples/zh/helpers/VertexNormalsHelper.html
浏览文件 @
cfe32fbf
...
...
@@ -26,7 +26,7 @@
</p>
<code>
var geometry = new THREE.BoxGeometry( 10, 10, 10, 2, 2, 2 );
var geometry = new THREE.Box
Buffer
Geometry( 10, 10, 10, 2, 2, 2 );
var material = new THREE.MeshBasicMaterial( { color: 0xff0000 } );
var box = new THREE.Mesh( geometry, material );
...
...
docs/examples/zh/math/Lut.html
浏览文件 @
cfe32fbf
...
...
@@ -16,10 +16,10 @@
<h2>
Example
</h2>
<code>
var lut = new THREE.Lut( "rainbow", 512 );
</code>
<code>
var data = [0, 10.1, 4.2, 3.4, 63, 28];
</code>
<code>
lut.setMax(63);
</code>
<
code>
color = lut.getColor(10);
<
/code>
<code>
var lut = new THREE.Lut( 'rainbow', 512 );
var color = lut.getColor( 0.5 );
</code>
<h2>
Constructor
</h2>
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录