mirror of
https://github.com/bevyengine/bevy
synced 2024-11-10 15:14:50 +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 |