Fix #23857: game engine world colors were not color corrected yet,
[blender-staging.git] / source / gameengine / Converter / BlenderWorldInfo.h
index b500c55a7f264c9d79fedaf0109a406da2d1bd4d..a430e18223ed2512d1206e75e89da0526ea480f6 100644 (file)
 class BlenderWorldInfo : public KX_WorldInfo
 {
        bool                    m_hasworld;
-       float                   m_backgroundred;
-       float                   m_backgroundgreen;
-       float                   m_backgroundblue;
+       float                   m_backgroundcolor[3];
 
        bool                    m_hasmist;
        float                   m_miststart;
        float                   m_mistdistance;
-       float                   m_mistred;
-       float                   m_mistgreen;
-       float                   m_mistblue;
+       float                   m_mistcolor[3];
 
-       float                   m_ambientred;
-       float                   m_ambientgreen;
-       float                   m_ambientblue;
+       float                   m_ambientcolor[3];
 
 public:
-       BlenderWorldInfo(struct World* blenderworld);
+       BlenderWorldInfo(struct Scene *blenderscene, struct World* blenderworld);
        ~BlenderWorldInfo();
 
        bool    hasWorld();