From 6e0c355a71863de29308b99c92243ca283870bd1 Mon Sep 17 00:00:00 2001 From: Spencer Burris Date: Wed, 10 Feb 2021 10:18:56 -0800 Subject: [PATCH] Format, bump version number --- Cargo.toml | 2 +- src/lib.rs | 6 +----- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index c5af498..d7b81d4 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "bevy_flycam" -version = "0.2.1" +version = "0.3.0" authors = ["Spencer Burris "] edition = "2018" license = "ISC" diff --git a/src/lib.rs b/src/lib.rs index 79c511f..d904e8a 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -109,17 +109,13 @@ fn player_look( } } -fn cursor_grab( - keys: Res>, - mut windows: ResMut, -) { +fn cursor_grab(keys: Res>, mut windows: ResMut) { let window = windows.get_primary_mut().unwrap(); if keys.just_pressed(KeyCode::Escape) { toggle_grab_cursor(window); } } - /// Contains everything needed to add first-person fly camera behavior to your game pub struct PlayerPlugin; impl Plugin for PlayerPlugin {