Removed (unused) _haze.

This commit is contained in:
Nissim Hadar 2017-10-02 12:14:21 -07:00
parent 48fb7522c0
commit 93bc3bec52
2 changed files with 1 additions and 3 deletions

View file

@ -139,8 +139,7 @@ const float NUM_HOURS_PER_HALF_DAY = NUM_HOURS_PER_DAY * 0.5f;
SunSkyStage::SunSkyStage() :
_sunLight(std::make_shared<Light>()),
_skybox(std::make_shared<Skybox>()),
_haze(std::make_shared<Haze>())
_skybox(std::make_shared<Skybox>())
{
_sunLight->setType(Light::SUN);
// Default ambient sphere (for lack of skybox)

View file

@ -228,7 +228,6 @@ protected:
LightPointer _sunLight;
mutable SkyboxPointer _skybox;
mutable HazePointer _haze;
float _dayTime = 12.0f;
int _yearTime = 0;