From 8d0144f1ef8470bec50ad2e646b6536eeb3b28b9 Mon Sep 17 00:00:00 2001 From: ajuvercr Date: Fri, 17 Apr 2020 15:52:06 +0200 Subject: [PATCH] make all fleets fly forward --- frontend/src/lib.rs | 5 ----- 1 file changed, 5 deletions(-) diff --git a/frontend/src/lib.rs b/frontend/src/lib.rs index fed5633..68d0a48 100644 --- a/frontend/src/lib.rs +++ b/frontend/src/lib.rs @@ -44,11 +44,6 @@ fn spr(from: f32) -> f32 { impl Circle { pub fn new(p1: &types::Planet, p2: &types::Planet) -> Self { - use std::f32::consts::PI; - - let pi2 = 2.0 * PI; - console_log!("Test"); - let x1 = p1.x; let y1 = p1.y; let x2 = p2.x;