浏览代码

Couple of additions and corrections in Geometry docs.

sole 13 年之前
父节点
当前提交
c6ff8c39f8
共有 1 个文件被更改,包括 9 次插入2 次删除
  1. 9 2
      docs/api/core/Geometry.html

+ 9 - 2
docs/api/core/Geometry.html

@@ -36,6 +36,11 @@
 		<div>
 		<div>
 		Unique number of this geometry instance
 		Unique number of this geometry instance
 		</div>
 		</div>
+		
+		<h3>.[page:String name]</h3>
+		<div>
+		Name for this geometry. Default is an empty string.
+		</div>
 
 
 		<h3>.[page:Array vertices]</h3>
 		<h3>.[page:Array vertices]</h3>
 		<div>
 		<div>
@@ -73,14 +78,14 @@
 
 
 		<h3>.[page:Array morphTargets]</h3>
 		<h3>.[page:Array morphTargets]</h3>
 		<div>
 		<div>
-		Array of morph targets. Each morph target is JS object:
+		Array of morph targets. Each morph target is a Javascript object:
 		<code>{ name: "targetName", vertices: [ new THREE.Vertex(), ... ] }</code>
 		<code>{ name: "targetName", vertices: [ new THREE.Vertex(), ... ] }</code>
 		Morph vertices match number and order of primary vertices.
 		Morph vertices match number and order of primary vertices.
 		</div>
 		</div>
 
 
 		<h3>.[page:Array morphColors]</h3>
 		<h3>.[page:Array morphColors]</h3>
 		<div>
 		<div>
-		Array of morph colors. Morph colors have similar structure as morph targets, each color set is JS object:
+		Array of morph colors. Morph colors have similar structure as morph targets, each color set is a Javascript object:
 		<code>morphColor = { name: "colorName", colors: [ new THREE.Color(), ... ] }</code>
 		<code>morphColor = { name: "colorName", colors: [ new THREE.Color(), ... ] }</code>
 		Morph colors can match either number and order of faces (face colors) or number of vertices (vertex colors).
 		Morph colors can match either number and order of faces (face colors) or number of vertices (vertex colors).
 		</div>
 		</div>
@@ -158,6 +163,8 @@
 		<div>
 		<div>
 		Computes bounding sphere of the geometry, updating [page:Geometry Geometry.boundingSphere] attribute.
 		Computes bounding sphere of the geometry, updating [page:Geometry Geometry.boundingSphere] attribute.
 		</div>
 		</div>
+		
+		<div>Neither bounding boxes or bounding spheres are computed by default. They need to be explicitly computed, otherwise they are *null*.</div>
 
 
 		<h3>.mergeVertices()</h3>
 		<h3>.mergeVertices()</h3>
 		<div>
 		<div>