MCPcopy Create free account
hub / github.com/LabSound/LabSound / inverseGain

Method inverseGain

src/internal/src/Distance.cpp:50–53  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

48}
49
50double DistanceEffect::inverseGain(double distance)
51{
52 return m_refDistance / (m_refDistance + m_rolloffFactor * (distance - m_refDistance));
53}
54
55double DistanceEffect::exponentialGain(double distance)
56{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected