let tick = Duration::from_millis(50);
let mut tick = TickState::new(tick);
loop {
tick.try_tick(|| {
println!("tick per 50ms");
});
}
-
Notifications
You must be signed in to change notification settings - Fork 0
Bruce0203/tick-machine
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
tick delta time calcualtor
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published