提交 45b029fe 编写于 作者: B Ben Houston

add docs per @WestLangley's request:...

add docs per @WestLangley's request: https://github.com/mrdoob/three.js/pull/5788#issuecomment-67857995
上级 6e77ef51
......@@ -91,6 +91,20 @@
WARNING: this discards revolution information.
</div>
<h3>[method:Euler setFromVector3]([page:Vector3 vector], [page:String order]) [page:Euler this]</h3>
<div>
vector -- [page:Vector3].
order -- [page:string] Order of axes, defaults to 'XYZ' (must be upper case)
</div>
<div>
Optionally Vector3 to the XYZ parameters of Euler, and order to the Euler's order property.
</div>
<h3>[method:Vector3 toVector3]()</h3>
<div>
Returns the Euler's XYZ properties as a Vector3.
</div>
<h3>[method:Euler fromArray]([page:Array array]) [page:Euler this]</h3>
<div>
array -- [page:Array] of length 3 or 4. array[3] is an optional order argument.
......
......@@ -71,6 +71,16 @@
Copies the translation component of the supplied matrix *m* into this matrix translation component.
</div>
<h3>[method:Matrix4 makeBasis]( [page:Vector3 xAxis], [page:Vector3 zAxis], [page:Vector3 zAxis] ) [page:Matrix4 this]</h3>
<div>
Creates the basis matrix consisting of the three provided axis vectors. Returns the current matrix.
</div>
<h3>[method:Matrix4 extractBasis]( [page:Vector3 xAxis], [page:Vector3 zAxis], [page:Vector3 zAxis] ) [page:Matrix4 this]</h3>
<div>
Extracts basis of into the three axis vectors provided. Returns the current matrix.
</div>
<h3>[method:Matrix4 extractRotation]( [page:Matrix4 m] ) [page:Matrix4 this]</h3>
<div>
Extracts the rotation of the supplied matrix *m* into this matrix rotation component.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册