hypoloop/examples/particles/src/main.rs
2021-08-11 19:20:26 -07:00

16 lines
283 B
Rust

use hypoloop::Simulation;
// look into using closures for this
fn main() {
// create sim and configure it
let mut sim = Simulation::new();
sim.set_update_function(test);
//sim.set_realtime(false);
// run sim
sim.run();
}
fn test() {
println!("Test");
}