From 6634f73a6768f61f928d51941be5e970e6011f07 Mon Sep 17 00:00:00 2001 From: tom barrett Date: Fri, 23 Feb 2018 07:40:05 -0600 Subject: -changed to floats and got vec type --- src/bin/server.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/bin') 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> { let mut masses : Vec> = 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 } -- cgit v1.2.3