Disable light-level code as it's not used currently.

This commit is contained in:
Dmitry 2019-05-10 01:40:33 +03:00 committed by jeefo
commit 117db06048
3 changed files with 8 additions and 3 deletions

View file

@ -370,7 +370,7 @@ public:
red = green = blue = 0;
}
inline const int avg (void) const {
inline int avg (void) const {
return (red + green + blue) / (sizeof (SimpleColor) / sizeof (int));
}
};

View file

@ -407,7 +407,7 @@ private:
model_t *m_worldModel;
public:
LightMeasure (void) : m_worldModel (nullptr), m_doAnimation (false) {
LightMeasure (void) : m_doAnimation (false), m_worldModel (nullptr) {
initializeLightstyles ();
m_point.reset ();
}