Skip to content

Commit

Permalink
is* adjustment
Browse files Browse the repository at this point in the history
  • Loading branch information
DefinitelyMaybe committed Aug 15, 2020
1 parent 1e75579 commit c346757
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
3 changes: 1 addition & 2 deletions src/scenes/Fog.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@ class Fog {

this.name = '';

this.isFog = true;

this.color = new Color( color );

this.near = ( near !== undefined ) ? near : 1;
Expand All @@ -34,5 +32,6 @@ class Fog {

}

Fog.prototype.isFog = true;

export { Fog };
3 changes: 2 additions & 1 deletion src/scenes/FogExp2.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ class FogExp2 {
constructor( color, density ) {

this.name = '';
this.isFogExp2 = true;

this.color = new Color( color );
this.density = ( density !== undefined ) ? density : 0.00025;

Expand All @@ -29,5 +29,6 @@ class FogExp2 {

}

FogExp2.prototype.isFogExp2 = true;

export { FogExp2 };
2 changes: 1 addition & 1 deletion src/scenes/Scene.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ class Scene extends Object3D {
super();
this.type = 'Scene';

this.isScene = true;
this.background = null;
this.environment = null;
this.fog = null;
Expand Down Expand Up @@ -55,5 +54,6 @@ class Scene extends Object3D {

}

Scene.prototype.isScene = true;

export { Scene };

0 comments on commit c346757

Please sign in to comment.