Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
98
inline float SpectrumLerp(float t, float v1, float v2) { return (1 - t) * v1 + t * v2; }
99
100
// Spectrum Declarations
101
template <int nSpectrumSamples>
Callers
4
FromSampled
Method · 0.85
Init
Method · 0.85
AverageSpectrumSamples
Function · 0.85
InterpolateSpectrumSamples
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected