MCPcopy Create free account
hub / github.com/OpenApoc/OpenApoc / mix

Function mix

library/vec.h:21–21  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

19#endif
20
21static inline float mix(float a, float b, float factor) { return a * (1.0f - factor) + b * factor; }
22
23template <typename T> static inline T clamp(const T &v, const T &min, const T &max)
24{

Callers 3

updateMethod · 0.85
updateMethod · 0.85
playSampleMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected