diff --git a/dod.c b/dod.c index 67190c1..83d41b9 100644 --- a/dod.c +++ b/dod.c @@ -253,7 +253,5 @@ u8 collides(const Rect *rect, const Rect *collider) { } i16 get_random_velocity(XOR256State *state) { - // i64 random = (i64)wapp_prng_xorshift_256(state) - INT64_MAX; - // return (f32)(random) / (f32)(INT64_MAX); return (wapp_prng_xorshift_256(state) % (MAX_ABS_VELOCITY + 1 - MIN_ABS_VELOCITY)) + MIN_ABS_VELOCITY; }