diff options
author | tom barrett <spalf0@gmail.com> | 2018-02-23 07:40:05 -0600 |
---|---|---|
committer | tom barrett <spalf0@gmail.com> | 2018-02-23 07:40:05 -0600 |
commit | 6634f73a6768f61f928d51941be5e970e6011f07 (patch) | |
tree | 1af5ef4a713061ad9bb10b0cb897362d59c430ec /src/bin | |
parent | 53281aa16e262124631af4abd19e16a921de098d (diff) |
-changed to floats and got vec type
Diffstat (limited to 'src/bin')
-rw-r--r-- | src/bin/server.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/server.rs b/src/bin/server.rs index e042855..c327257 100644 --- a/src/bin/server.rs +++ b/src/bin/server.rs @@ -11,7 +11,7 @@ use space::connection::Connection; fn populate() -> Vec<Box<Mass>> { let mut masses : Vec<Box<Mass>> = Vec::new(); - masses.push(Box::new(Astroid::new("cZfAJ", (10, -5, 4)))); + masses.push(Box::new(Astroid::new("cZfAJ", (10.0, -5.0, 4.0)))); masses } |