MCPcopy Create free account
hub / github.com/algoscienceacademy/RustUI / ease_out

Method ease_out

src/animation/mod.rs:60–63  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

58 }
59
60 fn ease_out(&self) -> f32 {
61 let t = self.progress;
62 self.start_value + (self.end_value - self.start_value) * (1.0 - (1.0 - t) * (1.0 - t))
63 }
64
65 fn ease_in_out(&self) -> f32 {
66 let t = self.progress;

Callers 1

updateMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected