MCPcopy Create free account
hub / github.com/donkeyteethUX/iced_plot / lerp

Function lerp

examples/heatmap.rs:102–104  ·  view source on GitHub ↗
(a: f32, b: f32, t: f32)

Source from the content-addressed store, hash-verified

100}
101
102fn lerp(a: f32, b: f32, t: f32) -> f32 {
103 a + (b - a) * t
104}

Callers 1

heat_colorFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected