Minor cleanup

master
Mark 2023-12-20 20:34:21 -08:00
parent 0f5da721ed
commit cb9e7a602f
Signed by: Mark
GPG Key ID: C6D63995FE72FD80
1 changed files with 2 additions and 2 deletions

View File

@ -75,7 +75,7 @@ impl System {
num.gen_range(-500.0..500.0), num.gen_range(-500.0..500.0),
), ),
scale: 1, scale: 1,
angle: num.gen_range(-3.0..3.0), angle: num.gen_range(-180f64..180f64).to_radians(),
})); }));
} }
@ -90,7 +90,7 @@ impl System {
pos: Position::new_polar(PhysVec { x: 0.0, y: 0.0 }, 300.0, 31.0), pos: Position::new_polar(PhysVec { x: 0.0, y: 0.0 }, 300.0, 31.0),
sprite: "earth.png".to_owned(), sprite: "earth.png".to_owned(),
scale: 1, scale: 1,
angle: 180.0, angle: (180f64).to_radians(),
})); }));
return s; return s;