download
raw
447 Bytes
import { Color } from '../math/Color.js';
class FogExp2 {
constructor( color, density = 0.00025 ) {
this.isFogExp2 = true;
this.name = '';
this.color = new Color( color );
this.density = density;
}
clone() {
return new FogExp2( this.color, this.density );
}
toJSON( /* meta */ ) {
return {
type: 'FogExp2',
name: this.name,
color: this.color.getHex(),
density: this.density
};
}
}
export { FogExp2 };

Xet Storage Details

Size:
447 Bytes
·
Xet hash:
fd2c2200abf0723a9e48bb1485c4bd2b91e793980e5074929a25b9ccc1bbc602

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.