From 806182835f1946bb79aa67f5a6d1597f5c93ef22 Mon Sep 17 00:00:00 2001 From: Faerbit Date: Sun, 31 May 2015 17:36:58 +0200 Subject: [PATCH] Changed wind direction because of flames clipping into the terrain. --- game/graphics.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/game/graphics.cc b/game/graphics.cc index 7c9d0ad..34805db 100644 --- a/game/graphics.cc +++ b/game/graphics.cc @@ -54,8 +54,8 @@ void Graphics::init(Level* level) { lastWindUpdate = - windUpdateDelay; windTarget = 0.0f; wind = glm::vec2(0.0f, 0.0f); - windDirection = glm::vec2(-1.0f, -1.0f); - windDirectionTarget = glm::vec2(-1.0f, -1.0f); + windDirection = glm::vec2(1.0f, 1.0f); + windDirectionTarget = glm::vec2(1.0f, 1.0f); textureMovementPosition = glm::vec2(0.0, 0.0); // construct VAO to give shader correct Attribute locations