Add planets
This commit is contained in:
parent
104ec50dcd
commit
01d5e8640f
2 changed files with 5 additions and 2 deletions
|
@ -24,4 +24,4 @@ steps n dt bodies = do
|
|||
steps (n-1) dt (updateAll dt bodies)
|
||||
|
||||
main :: IO ()
|
||||
main = steps 1000000 10 [sun, earth, moon]
|
||||
main = steps 1000000 10 [sun, earth, moon, mercury, venus, mars]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue