MCPcopy Create free account
hub / github.com/PerroEngine/Perro / distance_attenuation

Function distance_attenuation

perro_source/audio_stack/perro_pawdio/src/math.rs:28–31  ·  view source on GitHub ↗

Squared linear falloff: audibly louder up close, exactly 0 at range.

(distance: f32, range: f32)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

to_playbackMethod · 0.70

Calls 2

clampMethod · 0.45
maxMethod · 0.45

Tested by

no test coverage detected