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

build 180505. animated mirrors and doorsteps, support for spotlight hotspot width attribute, per-sound radio message range, support for combined tachometer sound, minor bug fixes

This commit is contained in:
tmj-fstate
2018-05-06 04:05:43 +02:00
parent 1d481acbf3
commit aa9626901f
14 changed files with 351 additions and 137 deletions

View File

@@ -111,6 +111,9 @@ public:
// returns location of the sound source in simulation region space
glm::dvec3 const
location() const;
// returns defined range of the sound
float const
range() const;
// members
float m_amplitudefactor { 1.f }; // helper, value potentially used by gain calculation