提交 ae1975c3 编写于 作者: M Mr.doob 提交者: GitHub

Merge pull request #10773 from m4jing/patch-for-doc-light

Fixed syntax errors
...@@ -102,7 +102,7 @@ scene.add( directionalLight ); ...@@ -102,7 +102,7 @@ scene.add( directionalLight );
The DirectionalLight points from its [page:.position position] to target.position. The default The DirectionalLight points from its [page:.position position] to target.position. The default
position of the target is *(0, 0, 0)*.<br /> position of the target is *(0, 0, 0)*.<br />
*Note*: For the the target's position to be changed to anything other than the default, *Note*: For the target's position to be changed to anything other than the default,
it must be added to the [page:Scene scene] using it must be added to the [page:Scene scene] using
<code> <code>
scene.add( light.target ); scene.add( light.target );
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
<h1>[name]</h1> <h1>[name]</h1>
<div class="desc"> <div class="desc">
This used internally by [page:DirectionalLight DirectionalLights] for calculating shadows.<br /><br /> This is used internally by [page:DirectionalLight DirectionalLights] for calculating shadows.<br /><br />
Unlike the other shadow classes, this uses an [page:OrthographicCamera] to calculate the shadows, Unlike the other shadow classes, this uses an [page:OrthographicCamera] to calculate the shadows,
rather than a [page:PerspectiveCamera]. This is because light rays from a [page:DirectionalLight] rather than a [page:PerspectiveCamera]. This is because light rays from a [page:DirectionalLight]
......
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
<h1>[name]</h1> <h1>[name]</h1>
<div class="desc"> <div class="desc">
This used internally by [page:PointLight PointLights] for calculating shadows, and also serves as This is used internally by [page:PointLight PointLights] for calculating shadows, and also serves as
a base class for the other shadow classes. a base class for the other shadow classes.
</div> </div>
...@@ -108,7 +108,7 @@ scene.add( helper ); ...@@ -108,7 +108,7 @@ scene.add( helper );
<h3>[property:Float radius]</h3> <h3>[property:Float radius]</h3>
<div> <div>
Setting this this to values greater than 1 will blur the edges of the shadow.<br /> Setting this to values greater than 1 will blur the edges of the shadow.<br />
High values will cause unwanted banding effects in the shadows - a greater [page:.mapSize mapSize] High values will cause unwanted banding effects in the shadows - a greater [page:.mapSize mapSize]
will allow for a higher value to be used here before these effects become visible.<br /><br /> will allow for a higher value to be used here before these effects become visible.<br /><br />
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
<h1>[name]</h1> <h1>[name]</h1>
<div class="desc"> <div class="desc">
This used internally by [page:SpotLight SpotLights] for calculating shadows. This is used internally by [page:SpotLight SpotLights] for calculating shadows.
</div> </div>
<h2>Example</h2> <h2>Example</h2>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册