From 8e26208559da41c50a2070e912b84f49ea0636f2 Mon Sep 17 00:00:00 2001 From: hut Date: Tue, 2 Apr 2024 01:33:00 +0200 Subject: [PATCH] move player back to the outside of the rings. jupiter too large. --- src/defs.txt | 2 +- src/world.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/defs.txt b/src/defs.txt index b2be528..857d81d 100644 --- a/src/defs.txt +++ b/src/defs.txt @@ -9,7 +9,7 @@ actor 0 0 0 jupiter actor 0 0 0 suit relativeto jupiter - orbit 150000e3 0.66 + orbit 220000e3 0.66 player yes id player mass 200.0 diff --git a/src/world.rs b/src/world.rs index 8747b0e..4cc67ff 100644 --- a/src/world.rs +++ b/src/world.rs @@ -175,7 +175,7 @@ fn generate_asteroids( ) { let maxdist = 30; let maxdist_orthogonal = maxdist / 4; - let player_r: f64 = 150000e3; // sync this with defs.txt parameters + let player_r: f64 = 220000e3; // sync this with defs.txt parameters let player_phase: f64 = 0.66; // sync this with defs.txt parameters let player_x: f64 = player_r * (player_phase * PI64 * 2.0).cos(); let player_y: f64 = 0.0;