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

Function fixNANs

src/core/PannerNode.cpp:31–35  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

29
30template <typename T>
31static void fixNANs(T & x)
32{
33 if (std::isnan(T(x)) || std::isinf(x))
34 x = T(0);
35}
36
37
38static char const * const s_distance_models[lab::DistanceEffect::ModelType::_Count + 1] = {

Callers 2

getAzimuthElevationMethod · 0.85
dopplerRateMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected