A barely functional, wildly incomplete and basically undocumented Rust crate whose aim is to let you write Games for the Playdate handheld gaming system in Rust.
get_elapsed_time was casting the returned f32 into an f32
Questions
Currently all of the datetime functions return epoch as usize, but convert_epoch_to_datetime takes the epoch argument as u32 for fears of downcasting. Should this be changed into usize or should I leave it as is?
Additions
Fixes
get_elapsed_time
was casting the returnedf32
into anf32
Questions
Currently all of the datetime functions return epoch as
usize
, butconvert_epoch_to_datetime
takes the epoch argument asu32
for fears of downcasting. Should this be changed intousize
or should I leave it as is?