Skip to content

Commit

Permalink
improvement: change default config to two-galaxies-2
Browse files Browse the repository at this point in the history
  • Loading branch information
timokoesters committed Mar 2, 2020
1 parent 6cc2975 commit 14afff2
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions examples/two-galaxies-2.ron
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,14 @@
safety: 1E20,
constructions: [
Galaxy (
center_pos: (-1E11, -1.0E11, 0.0),
center_pos: (-1E11, -1E11, 0.0),
center_vel: (10E6, 0.0, 0.0),
center_mass: 1E35,
amount: 100000,
normal: (1.0, 0.0, 0.0),
),
Galaxy (
center_pos: (1E11, 1.0E11, 0.0),
center_pos: (1E11, 1E11, 0.0),
center_vel: (0.0, 0.0, 0.0),
center_mass: 3E35,
amount: 100000,
Expand Down
10 changes: 5 additions & 5 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -104,18 +104,18 @@ fn default_config() -> Config {
safety: 1e20,
constructions: vec![
Construction::Galaxy {
center_pos: [-2e11, -1e11, 0.0],
center_vel: [13e6, 0.0, 0.0],
center_pos: [-1e11, -1e11, 0.0],
center_vel: [10e6, 0.0, 0.0],
center_mass: 1e35,
amount: 100000,
normal: [1.0, 0.0, 0.0],
},
Construction::Galaxy {
center_pos: [2e11, 1e11, 0.0],
center_pos: [1e11, 1e11, 0.0],
center_vel: [0.0, 0.0, 0.0],
center_mass: 1e35,
center_mass: 3e35,
amount: 100000,
normal: [1.0, 0.0, 0.0],
normal: [1.0, 1.0, 0.0],
},
],
}
Expand Down

0 comments on commit 14afff2

Please sign in to comment.