minor tidy

This commit is contained in:
Joe Ardent 2022-02-21 17:04:46 -08:00
parent a089f3da46
commit d36452569b
3 changed files with 6 additions and 9 deletions

4
Cargo.lock generated
View file

@ -73,9 +73,9 @@ dependencies = [
[[package]] [[package]]
name = "anyhow" name = "anyhow"
version = "1.0.54" version = "1.0.55"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7a99269dff3bc004caa411f38845c20303f1e393ca2bd6581576fa3a7f59577d" checksum = "159bb86af3a200e19a068f4224eae4c8bb2d0fa054c7e5d1cacd5cef95e684cd"
[[package]] [[package]]
name = "approx" name = "approx"

View file

@ -5,10 +5,11 @@ edition = "2021"
[dependencies] [dependencies]
rand = "0.8" rand = "0.8"
bevy_polyline = "0.1" bevy_polyline = "*"
noise = { git = "https://github.com/Razaekel/noise-rs" } noise = { git = "https://github.com/Razaekel/noise-rs" }
hexasphere = "7" hexasphere = "7"
wgpu = "0.12.0" wgpu = "0.12"
[dependencies.bevy] [dependencies.bevy]
version = "0.6" version = "0.6"

View file

@ -19,21 +19,17 @@ fn main() {
let mut app = App::new(); let mut app = App::new();
app.insert_resource(Msaa { samples: 4 }) app.insert_resource(Msaa { samples: 4 })
.insert_resource(ClearColor(Color::rgb(0.07, 0.001, 0.02))) .insert_resource(ClearColor(Color::rgb(0.07, 0.001, 0.02)))
.insert_resource(MOVEMENT_SETTINGS)
.add_plugins(DefaultPlugins) .add_plugins(DefaultPlugins)
//.add_plugin(LogDiagnosticsPlugin::default())
//.add_plugin(FrameTimeDiagnosticsPlugin::default())
.add_plugin(CyberGeomPlugin) .add_plugin(CyberGeomPlugin)
.add_plugin(CyberGlamorPlugin) .add_plugin(CyberGlamorPlugin)
.add_plugin(CyberInputPlugin) .add_plugin(CyberInputPlugin)
.add_plugin(CyberActionPlugin) .add_plugin(CyberActionPlugin)
.insert_resource(MOVEMENT_SETTINGS)
.add_plugin(CyberCamPlugin) .add_plugin(CyberCamPlugin)
.add_plugin(CyberSpaceLightsPlugin) .add_plugin(CyberSpaceLightsPlugin)
.add_plugin(CyberUIPlugin) .add_plugin(CyberUIPlugin)
.add_startup_system(disable_mouse_trap) .add_startup_system(disable_mouse_trap)
.add_system(bevy::input::system::exit_on_esc_system); .add_system(bevy::input::system::exit_on_esc_system);
//bevy_mod_debugdump::print_schedule(&mut app);
app.run(); app.run();
} }