提交 edc6647f 编写于 作者: W Walker Flynn

modified Clamp documentation, modified vector3 documentation

上级 605ea543
......@@ -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>
......
......@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册