mirror of
https://github.com/bevyengine/bevy
synced 2024-11-25 22:20:20 +00:00
1378ab2859
# Objective While coding in bevy I needed to get the elapsed time of a stopwatch as f64. I found it quite odd there are functions on Timer to get time as f64 but not on the Stopwatch. ## Solution - added a function that returns the `Stopwatch` elapsed time as `f64` --- ## Changelog ### Added - Added a function to get `Stopwatch` elapsed time as `f64` ### Fixed - The Stopwatch elapsed function had a wrong docs link |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |