Remove println! for speed

main
Charlotte Som 2021-09-02 04:10:18 +01:00
parent cffd17dea0
commit 587b8a2671
1 changed files with 0 additions and 1 deletions

View File

@ -44,7 +44,6 @@ fn model(_app: &App) -> Model {
let curr_color = TRANS_FLAG[i as usize % TRANS_FLAG.len()]; let curr_color = TRANS_FLAG[i as usize % TRANS_FLAG.len()];
let speed = (G * MASS_SUN as f64 / r).sqrt(); let speed = (G * MASS_SUN as f64 / r).sqrt();
println!("{}", speed);
bodies.push(Body { bodies.push(Body {
pos: (r * theta.cos(), r * theta.sin()).into(), pos: (r * theta.cos(), r * theta.sin()).into(),