Ver Fonte

Removed Vertex from docs.

Mr.doob há 13 anos atrás
pai
commit
e980d97ec7
3 ficheiros alterados com 7 adições e 27 exclusões
  1. 6 7
      docs/api/core/Geometry.html
  2. 0 18
      docs/api/core/Vertex.html
  3. 1 2
      docs/index.html

+ 6 - 7
docs/api/core/Geometry.html

@@ -11,11 +11,10 @@ var geometry = new THREE.Geometry()
 
 
 for ( var i = 0; i < 10000; i ++ ) {
 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 );
 	geometry.vertices.push( vertex );
 
 
 }
 }
@@ -37,7 +36,7 @@ Unique number of this geometry instance
 
 
 <h3>.[page:Array vertices]</h3>
 <h3>.[page:Array vertices]</h3>
 <div>
 <div>
-Array of [page:Vertex vertices].
+Array of [page:Vector3 vertices].
 </div>
 </div>
 
 
 <h3>.[page:Array colors]</h3>
 <h3>.[page:Array colors]</h3>
@@ -166,4 +165,4 @@ Duplicated vertices are removed and faces' vertices are updated.
 
 
 <h2>Source</h2>
 <h2>Source</h2>
 
 
-[link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js]
+[link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js]

+ 0 - 18
docs/api/core/Vertex.html

@@ -1,18 +0,0 @@
-<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]

+ 1 - 2
docs/index.html

@@ -140,8 +140,7 @@
 					{ name: "UV", path: "core/UV" },
 					{ name: "UV", path: "core/UV" },
 					{ name: "Vector2", path: "core/Vector2" },
 					{ name: "Vector2", path: "core/Vector2" },
 					{ name: "Vector3", path: "core/Vector3" },
 					{ name: "Vector3", path: "core/Vector3" },
-					{ name: "Vector4", path: "core/Vector4" },
-					{ name: "Vertex", path: "core/Vertex" }
+					{ name: "Vector4", path: "core/Vector4" }
 				],
 				],
 
 
 				"Lights": [
 				"Lights": [