fn main() { use clap::Parser; let args = vviz::app::Args::parse(); vviz::app::spawn(args.mode, |mut manager: vviz::manager::Manager| { let w3d = manager.add_widget3("w3d".to_string()); w3d.place_entity_at( "cube".to_string(), vviz::entities::colored_cube(1.0), vviz::math::rot_x(0.7), ); loop { manager.sync_with_gui(); } }); }