just tweak the constants of exponentiation
This commit is contained in:
parent
4383b703f1
commit
033db88b8e
1 changed files with 1 additions and 1 deletions
|
@ -127,7 +127,7 @@ impl Timer {
|
||||||
}
|
}
|
||||||
|
|
||||||
self.done =
|
self.done =
|
||||||
(1.0 - (remaining.as_millis() as f32) / (self.duration.as_millis() as f32)).powf(4.1);
|
(1.0 - (remaining.as_millis() as f32 / self.duration.as_millis() as f32)).powi(3);
|
||||||
|
|
||||||
let (sender, rx) = channel();
|
let (sender, rx) = channel();
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue