MCPcopy 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
125static int interpolate(int lo, int hi, float factor)
126{
127 float range = hi - lo;
128 return lo + range * factor;
129}
130
131void FluxViewerControl::OnPaint(wxPaintEvent&)
132{

Callers 1

OnPaintMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected