提交 f5298e1e 编写于 作者: M Mr.doob

Docs: Updated rotateOnAxis and rotateOnWorldAxis descriptions.

上级 0cd0ea62
......@@ -332,19 +332,20 @@
<h3>[method:this rotateOnAxis]( [param:Vector3 axis], [param:Float angle] )</h3>
<p>
axis -- A normalized vector in object space. <br />
axis -- A normalized vector in object space.<br />
angle -- The angle in radians.<br /><br />
Rotate an object along an axis in object space. The axis is assumed to be normalized.
Rotate the object on an axis in object space. The axis is assumed to be normalized.
</p>
<h3>[method:this rotateOnWorldAxis]( [param:Vector3 axis], [param:Float angle] )</h3>
<p>
axis -- A normalized vector in world space. <br />
axis -- A normalized vector in world space.<br />
angle -- The angle in radians.<br /><br />
Rotate an object along an axis in world space. The axis is assumed to be normalized.
Method Assumes no rotated parent.
Rotate the object on an axis in world space. The axis is assumed to be normalized.<br /><br />
This method does not support objects having rotated parent(s).
</p>
<h3>[method:this rotateAroundWorldAxis]( [param:Vector3 point], [param:Vector3 axis], [param:Float angle] )</h3>
......
......@@ -323,7 +323,7 @@
axis -- 객체 스페이스의 정규화 벡터입니다. <br />
angle -- 라디안 각도입니다.<br /><br />
객체를 객체 스페이스의 축에 맞춰 회전시킵니다. 해당 축은 정규화되었다고 가정합니다.
Rotate the object on an axis in object space. The axis is assumed to be normalized.
</p>
<h3>[method:this rotateOnWorldAxis]( [param:Vector3 axis], [param:Float angle] )</h3>
......@@ -331,8 +331,9 @@
axis -- 월드 스페이스의 정규화 벡터입니다. <br />
angle -- 라디안 각도입니다.<br /><br />
객체를 월드 스페이스의 축에 맞춰 회전시킵니다. 해당 축은 정규화되었다고 가정합니다.
부모의 회전은 고려하지 않습니다.
Rotate the object on an axis in world space. The axis is assumed to be normalized.<br /><br />
This method does not support objects having rotated parent(s).
</p>
<h3>[method:this rotateAroundWorldAxis]( [param:Vector3 point], [param:Vector3 axis], [param:Float angle] )</h3>
......
......@@ -309,7 +309,7 @@
<p>
axis —— 一个在局部空间中的标准化向量。<br />
angle —— 角度,以弧度来表示。<br /><br />
在局部空间中绕着该物体的轴来旋转一个物体,假设这个轴已被标准化。
Rotate the object on an axis in object space. The axis is assumed to be normalized.
</p>
<h3>[method:this rotateOnWorldAxis]( [param:Vector3 axis], [param:Float angle] )</h3>
......@@ -317,8 +317,9 @@
axis -- 一个在世界空间中的标准化向量。<br />
angle -- 角度,以弧度来表示。<br /><br />
在世界空间中绕着该物体的轴来旋转一个物体,假设这个轴已被标准化。
方法假设该物体没有旋转过的父级。
Rotate the object on an axis in world space. The axis is assumed to be normalized.<br /><br />
This method does not support objects having rotated parent(s).
</p>
<h3>[method:this rotateAroundWorldAxis]( [param:Vector3 point], [param:Vector3 axis], [param:Float angle] )</h3>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册