diff options
author | HG1 <HG1_public@gmx.net> | 2013-12-23 22:44:54 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2013-12-23 22:44:54 +0400 |
commit | d94db03ac8ef9f6a10e42f01d622421fe3f216bb (patch) | |
tree | 83c90ef394571027d0c417cc69ebc11543fcfa00 /source/gameengine/Converter/BlenderWorldInfo.h | |
parent | 0a5e00e8e836983149157155ca560c01f18e5609 (diff) |
Style cleanup: BGE
Diffstat (limited to 'source/gameengine/Converter/BlenderWorldInfo.h')
-rw-r--r-- | source/gameengine/Converter/BlenderWorldInfo.h | 78 |
1 files changed, 27 insertions, 51 deletions
diff --git a/source/gameengine/Converter/BlenderWorldInfo.h b/source/gameengine/Converter/BlenderWorldInfo.h index af535d65d62..2ac2d70b5d1 100644 --- a/source/gameengine/Converter/BlenderWorldInfo.h +++ b/source/gameengine/Converter/BlenderWorldInfo.h @@ -36,68 +36,44 @@ class BlenderWorldInfo : public KX_WorldInfo { - bool m_hasworld; - float m_backgroundcolor[3]; + bool m_hasworld; + float m_backgroundcolor[3]; - bool m_hasmist; - float m_miststart; - float m_mistdistance; - float m_mistcolor[3]; + bool m_hasmist; + float m_miststart; + float m_mistdistance; + float m_mistcolor[3]; - float m_ambientcolor[3]; + float m_ambientcolor[3]; public: - BlenderWorldInfo(struct Scene *blenderscene, struct World* blenderworld); + BlenderWorldInfo(struct Scene *blenderscene, struct World *blenderworld); ~BlenderWorldInfo(); - bool hasWorld(); - bool hasMist(); - float getBackColorRed(); - float getBackColorGreen(); - float getBackColorBlue(); - - float getAmbientColorRed(); - float getAmbientColorGreen(); - float getAmbientColorBlue(); + bool hasWorld(); + bool hasMist(); + float getBackColorRed(); + float getBackColorGreen(); + float getBackColorBlue(); - float getMistStart(); - float getMistDistance(); - float getMistColorRed(); - float getMistColorGreen(); - float getMistColorBlue(); + float getAmbientColorRed(); + float getAmbientColorGreen(); + float getAmbientColorBlue(); - void - setBackColor( - float r, - float g, - float b - ); - void - setMistStart( - float d - ); + float getMistStart(); + float getMistDistance(); + float getMistColorRed(); + float getMistColorGreen(); + float getMistColorBlue(); - void - setMistDistance( - float d - ); + void setBackColor(float r, float g, float b); + void setMistStart(float d); + void setMistDistance(float d); + void setMistColorRed(float d); + void setMistColorGreen(float d); + void setMistColorBlue(float d); - void - setMistColorRed( - float d - ); - void - setMistColorGreen( - float d - ); - - void - setMistColorBlue( - float d - ); - - #ifdef WITH_CXX_GUARDEDALLOC MEM_CXX_CLASS_ALLOC_FUNCS("GE:BlenderWorldInfo") #endif |