瀏覽代碼

Docs: Updated rotateOnAxis and rotateOnWorldAxis descriptions.

Mr.doob 4 年之前
父節點
當前提交
f5298e1efa
共有 3 個文件被更改,包括 14 次插入11 次删除
  1. 6 5
      docs/api/en/core/Object3D.html
  2. 4 3
      docs/api/ko/core/Object3D.html
  3. 4 3
      docs/api/zh/core/Object3D.html

+ 6 - 5
docs/api/en/core/Object3D.html

@@ -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>

+ 4 - 3
docs/api/ko/core/Object3D.html

@@ -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>

+ 4 - 3
docs/api/zh/core/Object3D.html

@@ -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>