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

Method exponentialGain

src/internal/src/Distance.cpp:55–58  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

53}
54
55double DistanceEffect::exponentialGain(double distance)
56{
57 return pow(distance / m_refDistance, -m_rolloffFactor);
58}
59
60} // namespace lab
61

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected