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

This commit is contained in:
Andrzej Kapolka 2014-05-29 17:46:25 -07:00
parent 34091128d8
commit 1eace78e47
2 changed files with 1 additions and 2 deletions

View file

@ -2310,6 +2310,7 @@ void Application::updateShadowMap() {
glm::quat rotation = rotationBetween(IDENTITY_FRONT, lightDirection);
glm::quat inverseRotation = glm::inverse(rotation);
const float SHADOW_MATRIX_DISTANCES[] = { 0.0f, 2.0f, 6.0f, 14.0f, 30.0f };
const glm::vec2 MAP_COORDS[] = { glm::vec2(0.0f, 0.0f), glm::vec2(0.5f, 0.0f),
glm::vec2(0.0f, 0.5f), glm::vec2(0.5f, 0.5f) };

View file

@ -126,8 +126,6 @@ static const float MIRROR_REARVIEW_DISTANCE = 0.65f;
static const float MIRROR_REARVIEW_BODY_DISTANCE = 2.3f;
static const float MIRROR_FIELD_OF_VIEW = 30.0f;
static const float SHADOW_MATRIX_DISTANCES[] = { 0.0f, 2.0f, 6.0f, 14.0f, 30.0f };
class Application : public QApplication {
Q_OBJECT