浏览代码

[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 年之前
父节点
当前提交
8b2ab83a90
共有 2 个文件被更改,包括 2 次插入2 次删除
  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 point] - [page:Vector3].<br/>
 		[page:Vector3 target] — the result will be copied into this Vector3.<br /><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>
 		</p>
 
 
 		<h3>[method:Vector3 getSize]( [param:Vector3 target] )</h3>
 		<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>
 		<p>A [page:Vector3] defining the center of the sphere. Default is (0, 0, 0).</p>
 
 
 		<h3>[property:Float radius]</h3>
 		<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>
 		<h2>Methods</h2>