Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/davidgiven/fluxengine
/ interpolate
Function
interpolate
src/gui/fluxviewercontrol.cc:125–129 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
123
}
124
125
static int interpolate(int lo, int hi, float factor)
126
{
127
float range = hi - lo;
128
return lo + range * factor;
129
}
130
131
void FluxViewerControl::OnPaint(wxPaintEvent&)
132
{
Callers
1
OnPaint
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected