Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Szepe <HG1_public@gmx.net>2015-03-23 23:36:08 +0300
committerThomas Szepe <HG1_public@gmx.net>2015-03-23 23:36:08 +0300
commit2affbb437bd3cbf3e1a502bd65a5eefb64a92b9b (patch)
tree2403ce2b95eb97249251d24ca035d389864c307f /source/gameengine/Converter/BlenderWorldInfo.h
parent38321faa8d111ec51ebdeb7f2e939062d5e080a1 (diff)
BGE: Multitexture world (mist, ambient) fix
This patch fix the existing word API for mist and global ambient lighting. Add deprecated message to disableMist() Add setUseMist(enable). Reviewers: dfelinto, campbellbarton, moguri Reviewed By: moguri Subscribers: solarlune, jta, brecht Projects: #bf_blender:_next Differential Revision: https://developer.blender.org/D148
Diffstat (limited to 'source/gameengine/Converter/BlenderWorldInfo.h')
-rw-r--r--source/gameengine/Converter/BlenderWorldInfo.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/gameengine/Converter/BlenderWorldInfo.h b/source/gameengine/Converter/BlenderWorldInfo.h
index 2ac2d70b5d1..6c67681c3bc 100644
--- a/source/gameengine/Converter/BlenderWorldInfo.h
+++ b/source/gameengine/Converter/BlenderWorldInfo.h
@@ -67,11 +67,11 @@ public:
float getMistColorBlue();
void setBackColor(float r, float g, float b);
+ void setUseMist(bool enable);
void setMistStart(float d);
void setMistDistance(float d);
- void setMistColorRed(float d);
- void setMistColorGreen(float d);
- void setMistColorBlue(float d);
+ void setMistColor(float r, float g, float b);
+ void setAmbientColor(float r, float g, float b);
#ifdef WITH_CXX_GUARDEDALLOC