Skip to content

Commit bf1546b

Browse files
committed
Fog is now "smooth ranged". +formatting
1 parent b480b79 commit bf1546b

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

docs/api/en/scenes/Fog.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
<body>
1111
<h1>[name]</h1>
1212

13-
<p class="desc">This class contains the parameters that define standard fog, i.e., that grows smoothly denser from the near to the far distance.</p>
13+
<p class="desc">This class contains the parameters that define smooth ranged fog, i.e., that grows smoothly denser from the near to the far distance.</p>
1414

1515

1616
<h2>Constructor</h2>

editor/js/Sidebar.Scene.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,7 @@ Sidebar.Scene = function ( editor ) {
267267
fogPropertiesRow.setDisplay( type === 'None' ? 'none' : '' );
268268
fogNear.setDisplay( type === 'Fog' ? '' : 'none' );
269269
fogFar.setDisplay( type === 'Fog' ? '' : 'none' );
270-
fogDensity.setDisplay( (type === 'FogExp' || type === 'FogExp2') ? '' : 'none' );
270+
fogDensity.setDisplay( ( type === 'FogExp' || type === 'FogExp2' ) ? '' : 'none' );
271271

272272
}
273273

src/scenes/Fog.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ export interface IFog {
88
}
99

1010
/**
11-
* This class contains the parameters that define standard fog, i.e., that grows smoothly denser from the near to the far distance.
11+
* This class contains the parameters that define smooth ranged fog, i.e., that grows smoothly denser from the near to the far distance.
1212
*/
1313
export class Fog implements IFog {
1414

0 commit comments

Comments
 (0)