Changed wind direction because of flames clipping into the terrain.
This commit is contained in:
parent
52a36c9b18
commit
806182835f
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user