浏览代码

Merge pull request #12517 from paulmasson/patch-1

π is not capitalized
Mr.doob 7 年之前
父节点
当前提交
cd61cf6b1f
共有 2 个文件被更改,包括 4 次插入4 次删除
  1. 2 2
      docs/api/lights/PointLight.html
  2. 2 2
      docs/api/lights/SpotLight.html

+ 2 - 2
docs/api/lights/PointLight.html

@@ -82,11 +82,11 @@ scene.add( light );
 		<div>
 			The light's power.<br />
 			In [page:WebGLRenderer.physicallyCorrectLights physically correct] mode, the luminous
-			power of the light measured in lumens. Default - *4PI*. <br /><br />
+			power of the light measured in lumens. Default is *4Math.PI*. <br /><br />
 
 			This is directly related to the [page:.intensity intensity] in the ratio
 			<code>
-				power = intensity * 4&Pi;
+				power = intensity * 4&pi;
 			</code>
 			and changing this will also change the intensity.
 		</div>

+ 2 - 2
docs/api/lights/SpotLight.html

@@ -135,11 +135,11 @@
 		<div>
 			The light's power.<br />
 			In [page:WebGLRenderer.physicallyCorrectLights physically correct] mode, the luminous
-			power of the light measured in lumens. Default - *4PI*. <br /><br />
+			power of the light measured in lumens. Default is *4Math.PI*. <br /><br />
 
 			This is directly related to the [page:.intensity intensity] in the ratio
 			<code>
-				power = intensity * &Pi;
+				power = intensity * &pi;
 			</code>
 			and changing this will also change the intensity.
 		</div>