Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/algoscienceacademy/RustUI
/ linear_interpolate
Method
linear_interpolate
src/animation/mod.rs:51–53 ·
view source on GitHub ↗
(&self)
Source
from the content-addressed store, hash-verified
49
}
50
51
fn linear_interpolate(&self) -> f32 {
52
self.start_value + (self.end_value - self.start_value) * self.progress
53
}
54
55
fn ease_in(&self) -> f32 {
56
let t = self.progress;
Callers
1
update
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected