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-24 02:27:45 +0300
committerThomas Szepe <HG1_public@gmx.net>2015-03-24 02:27:45 +0300
commitee579684617c1a9868b2c75cfb5d32efe26c1198 (patch)
treec09620e5c90a67a4ad7aa4ed5c71ad906418d86b /source/gameengine/Ketsji/KX_WorldInfo.cpp
parentfd22a92939dc937216f50d1350a63de872e0a6be (diff)
BGE: Remove old world bge.render API
This patch can be used to remove the old world bge.render API if the new world API D157 is used. If the new world API is applied we can remove the old API because the old has newer worked. The patch keep the two old working methods for backward compatibility. Reviewers: campbellbarton, moguri Reviewed By: campbellbarton, moguri Subscribers: brecht Differential Revision: https://developer.blender.org/D158
Diffstat (limited to 'source/gameengine/Ketsji/KX_WorldInfo.cpp')
-rw-r--r--source/gameengine/Ketsji/KX_WorldInfo.cpp70
1 files changed, 0 insertions, 70 deletions
diff --git a/source/gameengine/Ketsji/KX_WorldInfo.cpp b/source/gameengine/Ketsji/KX_WorldInfo.cpp
index b07aa26cf91..e4bf439501f 100644
--- a/source/gameengine/Ketsji/KX_WorldInfo.cpp
+++ b/source/gameengine/Ketsji/KX_WorldInfo.cpp
@@ -86,76 +86,6 @@ bool KX_WorldInfo::hasWorld()
return m_hasworld;
}
-bool KX_WorldInfo::hasMist()
-{
- return m_hasmist;
-}
-
-float KX_WorldInfo::getBackColorRed()
-{
- return m_backgroundcolor[0];
-}
-
-float KX_WorldInfo::getBackColorGreen()
-{
- return m_backgroundcolor[1];
-}
-
-float KX_WorldInfo::getBackColorBlue()
-{
- return m_backgroundcolor[2];
-}
-
-float KX_WorldInfo::getAmbientColorRed()
-{
- return m_ambientcolor[0];
-}
-
-float KX_WorldInfo::getAmbientColorGreen()
-{
- return m_ambientcolor[1];
-}
-
-float KX_WorldInfo::getAmbientColorBlue()
-{
- return m_ambientcolor[2];
-}
-
-short KX_WorldInfo::getMistType()
-{
- return m_misttype;
-}
-
-float KX_WorldInfo::getMistStart()
-{
- return m_miststart;
-}
-
-float KX_WorldInfo::getMistDistance()
-{
- return m_mistdistance;
-}
-
-float KX_WorldInfo::getMistIntensity()
-{
- return m_mistintensity;
-}
-
-float KX_WorldInfo::getMistColorRed()
-{
- return m_mistcolor[0];
-}
-
-float KX_WorldInfo::getMistColorGreen()
-{
- return m_mistcolor[1];
-}
-
-float KX_WorldInfo::getMistColorBlue()
-{
- return m_mistcolor[2];
-}
-
void KX_WorldInfo::setBackColor(float r, float g, float b)
{
m_backgroundcolor[0] = r;