This commit is contained in:
yuni 2024-03-29 00:14:01 +01:00
parent 880f92611a
commit 73d96aa69c

View file

@ -147,10 +147,6 @@ fn run_camera_controller(
controller.velocity = Vec3::ZERO; controller.velocity = Vec3::ZERO;
//transform.translation += controller.velocity.x * dt * right
//+ controller.velocity.y * dt * Vec3::Y
//+ controller.velocity.z * dt * forward;
// Handle mouse input // Handle mouse input
let mut mouse_delta = Vec2::ZERO; let mut mouse_delta = Vec2::ZERO;
for mouse_event in mouse_events.read() { for mouse_event in mouse_events.read() {