s_sndIfInfinitySource
global · sound
- Address
0x8030bc· 4 bytes, up to0x8030bf- Type
const float- Meaning
- Holds +inf, the value the interface file's infinity initializer copies
- Confidence
- verified, proof one
- Finding
- sound/overview#shared-header-constants
Finding: Shared header constants in sound: overview
The nine interface files open with the shared header's +∞, 2π and 1/2π and run the header
constants of models/overview#shared-header-constants, with 10² and 0.5/10 added. The
SoundInterface.cpp and water files put five more between +∞ and 2π: −21 · −1/36, that value ·
−255, 18 · 1/36, that value · 256 and 1/4.1666665; the water file adds 100² after them. The engine
file runs only +∞, 2π and 1/2π.
The derivation is in the doc.