3 ms·
It's very common in games. Integers are always an option, of course, but in this context it's hard to beat the convenience of just storing seconds in a floatin
by e4m2 2y ago
It's very common in games.
Integers are always an option, of course, but in this context it's hard to beat the convenience of just storing seconds in a floating point number.
Related: https://randomascii.wordpress.com/2012/02/13/dont-store-that-in-a-float/ https://randomascii.wordpress.com/2012/02/13/dont-store-that...