jjant / runty8

A Pico8 clone in Rust.
MIT License
222 stars 17 forks source link

Add `util::min_max` function and fix bug in `rectfill` #64

Closed jjant closed 1 year ago

jjant commented 1 year ago

Description

Previously, Pico8::rectfill would require the y0, y1 arguments to be in increasing order (e.g, y0 = 5, y1 = 10), and would print nothing if that wasn't the case. This was different than in Pico8, and fixed in this commit.

Also updates MSRV to 1.65.0 to make CI compile.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.