diff --git a/Cargo.lock b/Cargo.lock index e856d48..54ae70c 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -515,7 +515,7 @@ dependencies = [ [[package]] name = "bevy_fps_controller" -version = "0.2.4" +version = "0.2.5" dependencies = [ "bevy", "bevy_rapier3d", diff --git a/Cargo.toml b/Cargo.toml index 65c8448..09b98bb 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "bevy_fps_controller" -version = "0.2.4" +version = "0.2.5" edition = "2021" authors = ["bevy_fps_controller"] repository = "https://github.com/qhdwight/bevy_fps_controller" diff --git a/examples/minimal.rs b/examples/minimal.rs index 2a220be..6377470 100644 --- a/examples/minimal.rs +++ b/examples/minimal.rs @@ -1,10 +1,10 @@ use std::f32::consts::TAU; use bevy::{ - gltf::Gltf, - gltf::{GltfMesh, GltfNode}, + gltf::{Gltf, GltfMesh, GltfNode}, math::Vec3Swizzles, prelude::*, + render::camera::Exposure, window::CursorGrabMode, }; use bevy_rapier3d::prelude::*; @@ -17,7 +17,7 @@ fn main() { App::new() .insert_resource(AmbientLight { color: Color::WHITE, - brightness: 0.5, + brightness: 10000.0, }) .insert_resource(ClearColor(Color::hex("D4F5F5").unwrap())) .insert_resource(RapierConfiguration::default()) @@ -40,7 +40,7 @@ fn setup(mut commands: Commands, mut window: Query<&mut Window>, assets: Res, assets: Res, assets: Res