///////////////////////////////////////////////////////
| 136 | |
| 137 | //////////////////////////////////////////////////////////// |
| 138 | void SoundSource::setMaxDistance(float distance) |
| 139 | { |
| 140 | if (auto* sound = static_cast<ma_sound*>(getSound())) |
| 141 | ma_sound_set_max_distance(sound, distance); |
| 142 | } |
| 143 | |
| 144 | |
| 145 | //////////////////////////////////////////////////////////// |
no outgoing calls
no test coverage detected