History

Hide distances; they no longer need to be publicly visible.

Andrzej Kapolka committed 12 years ago

Commit 1eace781 parent 34091122 files · +1 −2Browse files

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

Unified · Split

interface/src/Application.cpp+1−0
@@ -2310,6 +2310,7 @@ void Application::updateShadowMap() { · 2309 unmodified lines
2310 glm::quat rotation = rotationBetween(IDENTITY_FRONT, lightDirection);2310 glm::quat rotation = rotationBetween(IDENTITY_FRONT, lightDirection);
2311 glm::quat inverseRotation = glm::inverse(rotation);2311 glm::quat inverseRotation = glm::inverse(rotation);
2312 2312
2313 const float SHADOW_MATRIX_DISTANCES[] = { 0.0f, 2.0f, 6.0f, 14.0f, 30.0f };
2313 const glm::vec2 MAP_COORDS[] = { glm::vec2(0.0f, 0.0f), glm::vec2(0.5f, 0.0f),2314 const glm::vec2 MAP_COORDS[] = { glm::vec2(0.0f, 0.0f), glm::vec2(0.5f, 0.0f),
2314 glm::vec2(0.0f, 0.5f), glm::vec2(0.5f, 0.5f) };2315 glm::vec2(0.0f, 0.5f), glm::vec2(0.5f, 0.5f) };
2315 2316

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