Skip to content

Commit 8b2ab83

Browse files
authored
[Doc/en]: fix some description errors in box3.html and sphere.html (#22317)
* [Doc/en]: Modified the description of `.getParameter` * Update Sphere.html
1 parent dab458f commit 8b2ab83

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/api/en/math/Box3.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ <h3>[method:Vector3 getParameter]( [param:Vector3 point], [param:Vector3 target]
175175
[page:Vector3 point] - [page:Vector3].<br/>
176176
[page:Vector3 target] — the result will be copied into this Vector3.<br /><br />
177177

178-
Returns a point as a proportion of this box's width and height.
178+
Returns a point as a proportion of this box's width, height and depth.
179179
</p>
180180

181181
<h3>[method:Vector3 getSize]( [param:Vector3 target] )</h3>

docs/api/en/math/Sphere.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ <h3>[property:Vector3 center]</h3>
2929
<p>A [page:Vector3] defining the center of the sphere. Default is (0, 0, 0).</p>
3030

3131
<h3>[property:Float radius]</h3>
32-
<p>The radius of the sphere. Default is 0.</p>
32+
<p>The radius of the sphere. Default is -1.</p>
3333

3434
<h2>Methods</h2>
3535

0 commit comments

Comments
 (0)