现在就没有debug信息了

This commit is contained in:
shenjack 2023-01-25 20:14:12 +08:00
parent 5b3f76100d
commit 7bc1d37256

View File

@ -148,7 +148,7 @@ pub fn better_update_parts(render: &PyAny, option: &PyAny, window: &PyAny,
// println!("{}", keys.0); // println!("{}", keys.0);
} }
let run_time = start_time.elapsed(); let run_time = start_time.elapsed();
println!("run took {} second or {} fps", run_time.as_secs_f64(), 1 as f64 / run_time.as_secs_f64()); // println!("run took {} second or {} fps", run_time.as_secs_f64(), 1 as f64 / run_time.as_secs_f64());
// render.setattr(intern!(render.py(), "parts_sprite"), part_sprites)?; // render.setattr(intern!(render.py(), "parts_sprite"), part_sprites)?;
// println!("dx: {} dy: {} scale: {}", dx, dy, render_scale); // println!("dx: {} dy: {} scale: {}", dx, dy, render_scale);
Ok(true) Ok(true)