Skip to content

Commit cc08bac

Browse files
authored
add consistency in code values (#26181)
1 parent 33d0747 commit cc08bac

File tree

5 files changed

+7
-7
lines changed

5 files changed

+7
-7
lines changed

docs/api/en/lights/SpotLight.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ <h3>[property:SpotLightShadow shadow]</h3>
143143
<h3>[property:Object3D target]</h3>
144144
<p>
145145
The Spotlight points from its [page:.position position] to
146-
target.position. The default position of the target is *(0, 0, 0)*.<br />
146+
target.position. The default position of the target is `(0, 0, 0)`.<br />
147147
*Note*: For the target's position to be changed to anything other than the
148148
default, it must be added to the [page:Scene scene] using
149149
<code> scene.add( light.target ); </code>

docs/api/en/lights/shadows/LightShadow.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ <h3>[property:Vector2 mapSize]</h3>
6868
Values must be powers of 2, up to the
6969
[page:WebGLRenderer.capabilities].maxTextureSize for a given device,
7070
although the width and height don't have to be the same (so, for example,
71-
(512, 1024) is valid). The default is *( 512, 512 )*.
71+
(512, 1024) is valid). The default is `( 512, 512 )`.
7272
</p>
7373

7474
<h3>[property:Matrix4 matrix]</h3>

docs/api/en/math/Plane.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ <h2>Constructor</h2>
2020
<h3>[name]( [param:Vector3 normal], [param:Float constant] )</h3>
2121
<p>
2222
[page:Vector3 normal] - (optional) a unit length [page:Vector3] defining
23-
the normal of the plane. Default is *(1, 0, 0)*.<br />
23+
the normal of the plane. Default is `(1, 0, 0)`.<br />
2424
[page:Float constant] - (optional) the signed distance from the origin to
2525
the plane. Default is `0`.
2626
</p>

docs/api/en/scenes/Scene.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,14 +39,14 @@ <h3>[property:Object background]</h3>
3939
<h3>[property:Float backgroundBlurriness]</h3>
4040
<p>
4141
Sets the blurriness of the background. Only influences environment maps
42-
assigned to [page:Scene.background]. Valid input is a float between *0*
43-
and *1*. Default is *0*.
42+
assigned to [page:Scene.background]. Valid input is a float between `0`
43+
and `1`. Default is `0`.
4444
</p>
4545

4646
<h3>[property:Float backgroundIntensity]</h3>
4747
<p>
4848
Attenuates the color of the background. Only applies to background
49-
textures. Default is *1*.
49+
textures. Default is `1`.
5050
</p>
5151

5252
<h3>[property:Texture environment]</h3>

docs/api/en/textures/DepthTexture.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ <h3>[property:Boolean isDepthTexture]</h3>
122122
<h3>[property:number compareFunction]</h3>
123123
<p>
124124
This is used to define the comparison function used when comparing texels in the depth texture to the value in the depth buffer.
125-
Default is *null* which means comparison is disabled.<br /><br/>
125+
Default is `null` which means comparison is disabled.<br /><br/>
126126

127127
See the [page:Textures texture constants] page for details of other functions.
128128
</p>

0 commit comments

Comments
 (0)