History

Render environment -> render atmosphere.

Andrzej Kapolka committed 13 years ago

Commit 8d4a74c1 parent 4567c313 files · +9 −9Browse files

Showing the changes to interface/src/Environment.cpp (1 of 3 files). Show all

Unified · Split

interface/src/Environment.cpp+1−1
@@ -32,7 +32,7 @@ void Environment::init() { · 31 unmodified lines
32 _g2Location = _skyFromAtmosphereProgram->getUniformLocation("g2");32 _g2Location = _skyFromAtmosphereProgram->getUniformLocation("g2");
33}33}
34 34
35void Environment::render(Camera& camera) { 35void 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);

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t