浏览代码

modified Clamp documentation, modified vector3 documentation

Walker Flynn 12 年之前
父节点
当前提交
edc6647f9b
共有 2 个文件被更改,包括 12 次插入12 次删除
  1. 1 1
      docs/api/math/Vector2.html
  2. 11 11
      docs/api/math/Vector3.html

+ 1 - 1
docs/api/math/Vector2.html

@@ -140,7 +140,7 @@
 		max -- [page:Vector2] containing the max x and y values in the desired range
 		</div>
 		<div>
-		If this vector's x or y value is greater than the max vector's x or y value, it is replaced by that value. <br />  If this vector's x or y value is less than the min vector's x or y value, it is replace by that value.
+		If this vector's x or y value is greater than the max vector's x or y value, it is replaced by the corresponding value. <br />  If this vector's x or y value is less than the min vector's x or y value, it is replace by the corresponding value.
 		</div>
 
 		<h3>.toArray() [page:Array]</h3>

+ 11 - 11
docs/api/math/Vector3.html

@@ -27,12 +27,12 @@
 
 		<h3>[name]( [page:Float x], [page:Float y], [page:Float z] )</h3>
 		<div>
-		x -- todo <br />
-		y -- todo <br />
-		z -- todo
+		x -- [page:Float] the vector's x value <br />
+		y -- [page:Float] the vector's y value <br />
+		z -- [page:Float] the vector's z value
 		</div>
 		<div>
-		todo
+		A 3 dimensional vector
 		</div>
 
 
@@ -169,7 +169,7 @@
 		Sets this vector extracting scale from matrix transform.
 		</div>
 
-		<h3>.equals( [page:Vector3 v] ) [page:Vector3]</h3>
+		<h3>.equals( [page:Vector3 v] ) [page:Boolean]</h3>
 		<div>
 		Checks for strict equality of this vector and *v*.
 		</div>
@@ -180,18 +180,18 @@
 		</div>
 
 
-		<h3>.clamp([page:todo min], [page:todo max]) [page:todo]</h3>
+		<h3>.clamp([page:todo min], [page:todo max]) [page:this]</h3>
 		<div>
-		min -- todo <br />
-		max -- todo
+		min -- [page:Vector3] <br />
+		max -- [page:Vector3]
 		</div>
 		<div>
-		todo
+		If this vector's x, y or z value is greater than the max vector's x, y or z value, it is replaced by the corresponding value. <br />  If this vector's x, y or z value is less than the min vector's x, y or z value, it is replace by the corresponding value.
 		</div>
 
-		<h3>.applyMatrix3([page:todo m]) [page:todo]</h3>
+		<h3>.applyMatrix3([page:todo m]) [page:this]</h3>
 		<div>
-		m -- todo
+		m -- [page:Matrix3]
 		</div>
 		<div>
 		todo