Browse Source

[Doc/en]: fix some description errors in box3.html and sphere.html (#22317)

* [Doc/en]: Modified the description of `.getParameter`

* Update Sphere.html
puxiao 4 năm trước cách đây
mục cha
commit
8b2ab83a90
2 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 1 1
      docs/api/en/math/Box3.html
  2. 1 1
      docs/api/en/math/Sphere.html

+ 1 - 1
docs/api/en/math/Box3.html

@@ -175,7 +175,7 @@
 		[page:Vector3 point] - [page:Vector3].<br/>
 		[page:Vector3 target] — the result will be copied into this Vector3.<br /><br />
 
-		Returns a point as a proportion of this box's width and height.
+		Returns a point as a proportion of this box's width, height and depth.
 		</p>
 
 		<h3>[method:Vector3 getSize]( [param:Vector3 target] )</h3>

+ 1 - 1
docs/api/en/math/Sphere.html

@@ -29,7 +29,7 @@
 		<p>A [page:Vector3] defining the center of the sphere. Default is (0, 0, 0).</p>
 
 		<h3>[property:Float radius]</h3>
-		<p>The radius of the sphere. Default is 0.</p>
+		<p>The radius of the sphere. Default is -1.</p>
 
 		<h2>Methods</h2>