提交 e980d97e 编写于 作者: M Mr.doob

Removed Vertex from docs.

上级 fe0dcce1
......@@ -11,11 +11,10 @@ var geometry = new THREE.Geometry()
for ( var i = 0; i < 10000; i ++ ) {
var vertex = new THREE.Vertex();
vertex.position.x = Math.random() * 1000 - 500;
vertex.position.y = Math.random() * 1000 - 500;
vertex.position.z = Math.random() * 1000 - 500;
var vertex = new THREE.Vector3();
vertex.x = Math.random() * 1000 - 500;
vertex.y = Math.random() * 1000 - 500;
vertex.z = Math.random() * 1000 - 500;
geometry.vertices.push( vertex );
}
......@@ -37,7 +36,7 @@ Unique number of this geometry instance
<h3>.[page:Array vertices]</h3>
<div>
Array of [page:Vertex vertices].
Array of [page:Vector3 vertices].
</div>
<h3>.[page:Array colors]</h3>
......@@ -166,4 +165,4 @@ Duplicated vertices are removed and faces' vertices are updated.
<h2>Source</h2>
[link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js]
\ No newline at end of file
[link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js]
<h1>[name]</h1>
<div class="desc"></div>
<h2>Constructor</h2>
<h3>[name]()</h3>
<h2>Properties</h2>
<h3>.[page:Vector3 position]</h3>
<h2>Source</h2>
[link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js]
\ No newline at end of file
......@@ -140,8 +140,7 @@
{ name: "UV", path: "core/UV" },
{ name: "Vector2", path: "core/Vector2" },
{ name: "Vector3", path: "core/Vector3" },
{ name: "Vector4", path: "core/Vector4" },
{ name: "Vertex", path: "core/Vertex" }
{ name: "Vector4", path: "core/Vector4" }
],
"Lights": [
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册