Replace the local implementation of 2d geometry by lowdim

This also forces an update of the rand dependency,
so while we are at it we update all the dependencies.
This commit is contained in:
Juergen Stuber
2023-04-10 00:57:36 +02:00
parent baf4df6c56
commit 7fe895f041
10 changed files with 588 additions and 475 deletions

View File

@ -56,8 +56,8 @@ fn main() -> std::io::Result<()> {
.take(y_size)
.collect::<Vec<_>>();
loop {
let x = rng.gen_range(0, x_size);
let y = rng.gen_range(0, y_size);
let x = rng.gen_range(0..x_size);
let y = rng.gen_range(0..y_size);
let c = pick_color(c0, c1, &mut rng);
frame[y][x] = c;