From 587b8a2671d82f2ba74c8d6b90c2b571927352ab Mon Sep 17 00:00:00 2001 From: videogame hacker Date: Thu, 2 Sep 2021 04:10:18 +0100 Subject: [PATCH] Remove println! for speed --- 02_gravity/src/main.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/02_gravity/src/main.rs b/02_gravity/src/main.rs index c5d527b..9c457d8 100644 --- a/02_gravity/src/main.rs +++ b/02_gravity/src/main.rs @@ -44,7 +44,6 @@ fn model(_app: &App) -> Model { let curr_color = TRANS_FLAG[i as usize % TRANS_FLAG.len()]; let speed = (G * MASS_SUN as f64 / r).sqrt(); - println!("{}", speed); bodies.push(Body { pos: (r * theta.cos(), r * theta.sin()).into(),