From f5298e1efae275f2d513ea027ab361901d076e6b Mon Sep 17 00:00:00 2001 From: "Mr.doob" Date: Tue, 11 May 2021 21:52:33 +0100 Subject: [PATCH] Docs: Updated rotateOnAxis and rotateOnWorldAxis descriptions. --- docs/api/en/core/Object3D.html | 11 ++++++----- docs/api/ko/core/Object3D.html | 7 ++++--- docs/api/zh/core/Object3D.html | 7 ++++--- 3 files changed, 14 insertions(+), 11 deletions(-) diff --git a/docs/api/en/core/Object3D.html b/docs/api/en/core/Object3D.html index 6536c58f44..de94470741 100644 --- a/docs/api/en/core/Object3D.html +++ b/docs/api/en/core/Object3D.html @@ -332,19 +332,20 @@

[method:this rotateOnAxis]( [param:Vector3 axis], [param:Float angle] )

- axis -- A normalized vector in object space.
+ axis -- A normalized vector in object space.
angle -- The angle in radians.

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

[method:this rotateOnWorldAxis]( [param:Vector3 axis], [param:Float angle] )

- axis -- A normalized vector in world space.
+ axis -- A normalized vector in world space.
angle -- The angle in radians.

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

+ + This method does not support objects having rotated parent(s).

[method:this rotateAroundWorldAxis]( [param:Vector3 point], [param:Vector3 axis], [param:Float angle] )

diff --git a/docs/api/ko/core/Object3D.html b/docs/api/ko/core/Object3D.html index 2438092403..1cb958a8fb 100644 --- a/docs/api/ko/core/Object3D.html +++ b/docs/api/ko/core/Object3D.html @@ -323,7 +323,7 @@ axis -- 객체 스페이스의 정규화 벡터입니다.
angle -- 라디안 각도입니다.

- 객체를 객체 스페이스의 축에 맞춰 회전시킵니다. 해당 축은 정규화되었다고 가정합니다. + Rotate the object on an axis in object space. The axis is assumed to be normalized.

[method:this rotateOnWorldAxis]( [param:Vector3 axis], [param:Float angle] )

@@ -331,8 +331,9 @@ axis -- 월드 스페이스의 정규화 벡터입니다.
angle -- 라디안 각도입니다.

- 객체를 월드 스페이스의 축에 맞춰 회전시킵니다. 해당 축은 정규화되었다고 가정합니다. - 부모의 회전은 고려하지 않습니다. + Rotate the object on an axis in world space. The axis is assumed to be normalized.

+ + This method does not support objects having rotated parent(s).

[method:this rotateAroundWorldAxis]( [param:Vector3 point], [param:Vector3 axis], [param:Float angle] )

diff --git a/docs/api/zh/core/Object3D.html b/docs/api/zh/core/Object3D.html index 994ce3650b..7ab5b2d91b 100644 --- a/docs/api/zh/core/Object3D.html +++ b/docs/api/zh/core/Object3D.html @@ -309,7 +309,7 @@

axis —— 一个在局部空间中的标准化向量。
angle —— 角度,以弧度来表示。

- 在局部空间中绕着该物体的轴来旋转一个物体,假设这个轴已被标准化。 + Rotate the object on an axis in object space. The axis is assumed to be normalized.

[method:this rotateOnWorldAxis]( [param:Vector3 axis], [param:Float angle] )

@@ -317,8 +317,9 @@ axis -- 一个在世界空间中的标准化向量。
angle -- 角度,以弧度来表示。

- 在世界空间中绕着该物体的轴来旋转一个物体,假设这个轴已被标准化。 - 方法假设该物体没有旋转过的父级。 + Rotate the object on an axis in world space. The axis is assumed to be normalized.

+ + This method does not support objects having rotated parent(s).

[method:this rotateAroundWorldAxis]( [param:Vector3 point], [param:Vector3 axis], [param:Float angle] )

-- GitLab