Răsfoiți Sursa

Docs: Fixed Ray direction.

Mr.doob 5 ani în urmă
părinte
comite
4c6e37f2e3
2 a modificat fișierele cu 5 adăugiri și 5 ștergeri
  1. 2 2
      docs/api/en/math/Ray.html
  2. 3 3
      docs/api/zh/math/Ray.html

+ 2 - 2
docs/api/en/math/Ray.html

@@ -25,7 +25,7 @@
 		<p>
 		<p>
 		[page:Vector3 origin] - (optional) the origin of the [page:Ray]. Default is a [page:Vector3] at (0, 0, 0).<br />
 		[page:Vector3 origin] - (optional) the origin of the [page:Ray]. Default is a [page:Vector3] at (0, 0, 0).<br />
 		[page:Vector3 direction] - [page:Vector3] The direction of the [page:Ray]. This must be normalized
 		[page:Vector3 direction] - [page:Vector3] The direction of the [page:Ray]. This must be normalized
-		 (with [page:Vector3.normalize]) for the methods to operate properly.  Default is a [page:Vector3] at (0, 0, 0).<br /><br />
+		 (with [page:Vector3.normalize]) for the methods to operate properly.  Default is a [page:Vector3] at (0, 0, -1).<br /><br />
 
 
 		Creates a new [name].
 		Creates a new [name].
 		</p>
 		</p>
@@ -38,7 +38,7 @@
 		<h3>[property:Vector3 direction]</h3>
 		<h3>[property:Vector3 direction]</h3>
 		<p>
 		<p>
 		The direction of the [page:Ray]. This must be normalized (with [page:Vector3.normalize])
 		The direction of the [page:Ray]. This must be normalized (with [page:Vector3.normalize])
-		for the methods to operate properly. Default is a [page:Vector3] at (0, 0, 0).
+		for the methods to operate properly. Default is a [page:Vector3] at (0, 0, -1).
 		</p>
 		</p>
 
 
 
 

+ 3 - 3
docs/api/zh/math/Ray.html

@@ -24,7 +24,7 @@
 		<p>
 		<p>
 		[page:Vector3 origin] - (可选)[page:Ray](射线)的原点,默认值是一个位于(0, 0, 0)的[page:Vector3]。<br />
 		[page:Vector3 origin] - (可选)[page:Ray](射线)的原点,默认值是一个位于(0, 0, 0)的[page:Vector3]。<br />
 		[page:Vector3 direction] - [page:Vector3] [page:Ray](射线)的方向。该向量必须经过标准化(使用[page:Vector3.normalize]),这样才能使方法正常运行。
 		[page:Vector3 direction] - [page:Vector3] [page:Ray](射线)的方向。该向量必须经过标准化(使用[page:Vector3.normalize]),这样才能使方法正常运行。
-		默认值是一个位于(0, 0, 0)的[page:Vector3]。<br /><br />
+		默认值是一个位于(0, 0, -1)的[page:Vector3]。<br /><br />
 
 
 		创建一个新的[name]。
 		创建一个新的[name]。
 		</p>
 		</p>
@@ -37,7 +37,7 @@
 		<h3>[property:Vector3 direction]</h3>
 		<h3>[property:Vector3 direction]</h3>
 		<p>
 		<p>
 		[page:Ray](射线)的方向。该向量必须经过标准化(使用[page:Vector3.normalize]),这样才能使方法正常运行。
 		[page:Ray](射线)的方向。该向量必须经过标准化(使用[page:Vector3.normalize]),这样才能使方法正常运行。
-		默认值是一个位于(0, 0, 0)的[page:Vector3]。
+		默认值是一个位于(0, 0, -1)的[page:Vector3]。
 		</p>
 		</p>
 
 
 
 
@@ -190,7 +190,7 @@
 		<p>
 		<p>
 		[page:Vector3 origin] - [page:Ray](射线)的[page:.origin origin](原点)。<br />
 		[page:Vector3 origin] - [page:Ray](射线)的[page:.origin origin](原点)。<br />
 		[page:Vector3 origin] - [page:Ray](射线)的[page:.direction direction](方向)。
 		[page:Vector3 origin] - [page:Ray](射线)的[page:.direction direction](方向)。
-		
+
 		该向量必须经过标准化(使用[page:Vector3.normalize]),这样才能使方法正常运行。
 		该向量必须经过标准化(使用[page:Vector3.normalize]),这样才能使方法正常运行。
 		<br /><br />
 		<br /><br />