History

changing the atmoshpere position

Sam Gateau committed 11 years ago

Commit 2fdcbb11 parent 56758752 files · +4 −6Browse files

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

Unified · Split

interface/src/Application.cpp+0−2
@@ -2505,8 +2505,6 @@ void Application::loadViewFrustum(Camera& camera, ViewFrustum& viewFrustum) { · 2504 unmodified lines
25052505 }
25062506
25072507 glm::vec3 Application::getSunDirection() {
2508− /* return glm::normalize(_environment.getClosestData(_myCamera.getPosition()).getSunLocation(_myCamera.getPosition()) -
2509− _myCamera.getPosition());*/
25102508 // Sun direction is in fact just the location of the sun relative to the origin
25112509 return glm::normalize(_environment.getClosestData(_myCamera.getPosition()).getSunLocation(_myCamera.getPosition()));
25122510 }

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