16
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-07-22 00:09:18 +02:00

sound changes

This commit is contained in:
milek7
2017-10-05 12:07:51 +02:00
parent 93ccd6802b
commit 50eaf09209
3 changed files with 16 additions and 13 deletions

View File

@@ -339,7 +339,7 @@ void TGauge::play( sound *Sound )
auto pos = glm::vec3(glm::vec4(model_pos, 1.0f) * glm::inverse((glm::mat4)World.train()->Dynamic()->mMatrix));
pos += (glm::vec3)World.train()->Dynamic()->GetPosition();
Sound->set_mode(sound::anchored).dist(1.5f).position(pos);
Sound->set_mode(sound::anchored).dist(3.0f).position(pos);
}
}