Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
changeFog = (fog) => {
if (fog.color && fog.density && fog.enabled) {
SceneManager.fog(fog.color, fog.density/1000);
}
}