Showing the changes to interface/src/Environment.cpp (1 of 3 files). Show all
Unified · Split
| @@ -32,7 +32,7 @@ void Environment::init() { · 31 unmodified lines | |||
| 32 | _g2Location = _skyFromAtmosphereProgram->getUniformLocation("g2"); | 32 | _g2Location = _skyFromAtmosphereProgram->getUniformLocation("g2"); |
| 33 | } | 33 | } |
| 34 | 34 | ||
| 35 | void Environment::render(Camera& camera) { | 35 | void Environment::renderAtmosphere(Camera& camera) { |
| 36 | glMatrixMode(GL_MODELVIEW); | 36 | glMatrixMode(GL_MODELVIEW); |
| 37 | glPushMatrix(); | 37 | glPushMatrix(); |
| 38 | glTranslatef(getAtmosphereCenter().x, getAtmosphereCenter().y, getAtmosphereCenter().z); | 38 | glTranslatef(getAtmosphereCenter().x, getAtmosphereCenter().y, getAtmosphereCenter().z); |