|
@@ -396,15 +396,12 @@ xz, yz, 1, 0,
|
|
|
0, 0, 0, 1 </code>
|
|
|
</p>
|
|
|
|
|
|
+ <h3>[method:this makeTranslation]( [param:Vector3 v] )</h3>
|
|
|
<h3>
|
|
|
- [method:this makeTranslation]( [param:Float x], [param:Float y], [param:Float z] )
|
|
|
+ [method:this makeTranslation]( [param:Float x], [param:Float y], [param:Float z] ) // optional API
|
|
|
</h3>
|
|
|
<p>
|
|
|
- [page:Float x] - the amount to translate in the X axis.<br />
|
|
|
- [page:Float y] - the amount to translate in the Y axis.<br />
|
|
|
- [page:Float z] - the amount to translate in the Z axis.<br /><br />
|
|
|
-
|
|
|
- Sets this matrix as a translation transform:
|
|
|
+ Sets this matrix as a translation transform from vector [page:Vector3 v], or numbers [page:Float x], [page:Float y] and [page:Float z]:
|
|
|
<code>
|
|
|
1, 0, 0, x,
|
|
|
0, 1, 0, y,
|