move player back to the outside of the rings. jupiter too large.
This commit is contained in:
parent
36f99d8215
commit
8e26208559
|
@ -9,7 +9,7 @@ actor 0 0 0 jupiter
|
||||||
|
|
||||||
actor 0 0 0 suit
|
actor 0 0 0 suit
|
||||||
relativeto jupiter
|
relativeto jupiter
|
||||||
orbit 150000e3 0.66
|
orbit 220000e3 0.66
|
||||||
player yes
|
player yes
|
||||||
id player
|
id player
|
||||||
mass 200.0
|
mass 200.0
|
||||||
|
|
|
@ -175,7 +175,7 @@ fn generate_asteroids(
|
||||||
) {
|
) {
|
||||||
let maxdist = 30;
|
let maxdist = 30;
|
||||||
let maxdist_orthogonal = maxdist / 4;
|
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_phase: f64 = 0.66; // sync this with defs.txt parameters
|
||||||
let player_x: f64 = player_r * (player_phase * PI64 * 2.0).cos();
|
let player_x: f64 = player_r * (player_phase * PI64 * 2.0).cos();
|
||||||
let player_y: f64 = 0.0;
|
let player_y: f64 = 0.0;
|
||||||
|
|
Loading…
Reference in a new issue