Skip to content

Commit d0db382

Browse files
authored
Merge pull request mrdoob#19993 from WestLangley/dev_object3d_docs
Docs: Update Object3D.html
2 parents 7bca75a + 4992c35 commit d0db382

File tree

2 files changed

+10
-8
lines changed

2 files changed

+10
-8
lines changed

docs/api/en/core/Object3D.html

+4-4
Original file line numberDiff line numberDiff line change
@@ -286,9 +286,9 @@ <h3>[method:Vector3 getWorldDirection]( [param:Vector3 target] )</h3>
286286

287287
<h3>[method:Vector3 localToWorld]( [param:Vector3 vector] )</h3>
288288
<p>
289-
vector - A vector representing a position in local (object) space.<br /><br />
289+
vector - A vector representing a position in this object's local space.<br /><br />
290290

291-
Converts the vector from local space to world space.
291+
Converts the vector from this object's local space to world space.
292292
</p>
293293

294294
<h3>[method:null lookAt]( [param:Vector3 vector] )<br />
@@ -447,9 +447,9 @@ <h3>[method:null updateWorldMatrix]( [param:Boolean updateParents], [param:Boole
447447

448448
<h3>[method:Vector3 worldToLocal]( [param:Vector3 vector] )</h3>
449449
<p>
450-
vector - A world vector.<br /><br />
450+
vector - A vector representing a position in world space.<br /><br />
451451

452-
Updates the vector from world space to local space.
452+
Converts the vector from world space to this object's local space.
453453
</p>
454454

455455
<h2>Source</h2>

docs/api/zh/core/Object3D.html

+6-4
Original file line numberDiff line numberDiff line change
@@ -270,8 +270,9 @@ <h3>[method:Vector3 getWorldDirection]( [param:Vector3 target] )</h3>
270270

271271
<h3>[method:Vector3 localToWorld]( [param:Vector3 vector] )</h3>
272272
<p>
273-
vector - 一个表示局部(物体)空间中位置的向量。 <br /><br />
274-
将局部空间向量转换为世界空间向量。
273+
vector - A vector representing a position in this object's local space.<br /><br />
274+
275+
Converts the vector from this object's local space to world space.
275276
</p>
276277

277278
<h3>[method:null lookAt]( [param:Vector3 vector] )<br />
@@ -422,8 +423,9 @@ <h3>[method:null updateWorldMatrix]( [param:Boolean updateParents], [param:Boole
422423

423424
<h3>[method:Vector3 worldToLocal]( [param:Vector3 vector] )</h3>
424425
<p>
425-
vector - 一个世界向量.<br /><br />
426-
将世界空间中的向量转换为局部空间向量。
426+
vector - A vector representing a position in world space.<br /><br />
427+
428+
Converts the vector from world space to this object's local space.
427429
</p>
428430

429431
<h2>源代码</h2>

0 commit comments

Comments
 (0)