MCPcopy Create free account
hub / github.com/TheRealMJP/BakingLab / SpectrumLerp

Function SpectrumLerp

SampleFramework11/v1.02/Graphics/Spectrum.h:98–98  ·  view source on GitHub ↗

Utility functions

Source from the content-addressed store, hash-verified

96
97// Utility functions
98inline float SpectrumLerp(float t, float v1, float v2) { return (1 - t) * v1 + t * v2; }
99
100// Spectrum Declarations
101template <int nSpectrumSamples>

Callers 4

FromSampledMethod · 0.85
InitMethod · 0.85
AverageSpectrumSamplesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected