Changed wind direction because of flames clipping into the terrain.

This commit is contained in:
Faerbit 2015-05-31 17:36:58 +02:00
parent 52a36c9b18
commit 806182835f

View File

@ -54,8 +54,8 @@ void Graphics::init(Level* level) {
lastWindUpdate = - windUpdateDelay; lastWindUpdate = - windUpdateDelay;
windTarget = 0.0f; windTarget = 0.0f;
wind = glm::vec2(0.0f, 0.0f); wind = glm::vec2(0.0f, 0.0f);
windDirection = glm::vec2(-1.0f, -1.0f); windDirection = glm::vec2(1.0f, 1.0f);
windDirectionTarget = glm::vec2(-1.0f, -1.0f); windDirectionTarget = glm::vec2(1.0f, 1.0f);
textureMovementPosition = glm::vec2(0.0, 0.0); textureMovementPosition = glm::vec2(0.0, 0.0);
// construct VAO to give shader correct Attribute locations // construct VAO to give shader correct Attribute locations