Переглянути джерело

Merge pull request #10440 from looeee/directionalLightShadow/remove_unused_params

Removed DirectionalLightShadow params from src and docs
Mr.doob 8 роки тому
батько
коміт
cc10ea3db1

+ 1 - 1
docs/api/lights/shadows/DirectionalLightShadow.html

@@ -62,7 +62,7 @@ scene.add( helper );
 		</div>
 
 		<h2>Constructor</h2>
-		<h3>[name]( [page:Integer hex], [page:Float intensity] )</h3>
+		<h3>[name]( )</h3>
 		<div>
 			Creates a new [name]. This is not intended to be called directly - it is called
 			internally by [page:DirectionalLight].

+ 1 - 1
src/lights/DirectionalLightShadow.js

@@ -5,7 +5,7 @@ import { OrthographicCamera } from '../cameras/OrthographicCamera';
  * @author mrdoob / http://mrdoob.com/
  */
 
-function DirectionalLightShadow( light ) {
+function DirectionalLightShadow( ) {
 
 	LightShadow.call( this, new OrthographicCamera( - 5, 5, 5, - 5, 0.5, 500 ) );