use bevy::prelude::*; use bevy_prototype_debug_lines::{DebugLinesPlugin, DebugShapes}; fn main() { App::new() .insert_resource(Msaa::default()) .add_plugins(DefaultPlugins) .add_plugins(DebugLinesPlugin::default()) .add_systems(Startup, setup) .add_systems(Update, demo) .run(); } fn setup(mut commands: Commands) { commands.spawn(Camera2dBundle { transform: Transform::from_xyz(0.0, 0.0, 5.0), ..Default::default() }); } fn demo(time: Res