Bläddra i källkod

Couple of additions and corrections in Geometry docs.

sole 13 år sedan
förälder
incheckning
c6ff8c39f8
1 ändrade filer med 9 tillägg och 2 borttagningar
  1. 9 2
      docs/api/core/Geometry.html

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

@@ -36,6 +36,11 @@
 		<div>
 		Unique number of this geometry instance
 		</div>
+		
+		<h3>.[page:String name]</h3>
+		<div>
+		Name for this geometry. Default is an empty string.
+		</div>
 
 		<h3>.[page:Array vertices]</h3>
 		<div>
@@ -73,14 +78,14 @@
 
 		<h3>.[page:Array morphTargets]</h3>
 		<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>
 		Morph vertices match number and order of primary vertices.
 		</div>
 
 		<h3>.[page:Array morphColors]</h3>
 		<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>
 		Morph colors can match either number and order of faces (face colors) or number of vertices (vertex colors).
 		</div>
@@ -158,6 +163,8 @@
 		<div>
 		Computes bounding sphere of the geometry, updating [page:Geometry Geometry.boundingSphere] attribute.
 		</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>
 		<div>