Remove println! for speed
parent
cffd17dea0
commit
587b8a2671
|
@ -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(),
|
||||||
|
|
Loading…
Reference in New Issue