summaryrefslogtreecommitdiff
path: root/engine/src/camera
diff options
context:
space:
mode:
authorHampusM <hampus@hampusmat.com>2025-01-05 22:10:00 +0100
committerHampusM <hampus@hampusmat.com>2025-01-05 22:10:00 +0100
commit23c49a0f5c908d9b2476c408f30b37118cd8e28f (patch)
treef17ff7000cb37c37ae3ebad640011d42c74659c5 /engine/src/camera
parenta44e663eb6d4aaf567dd35f2676014ba5aaa9e00 (diff)
chore(engine): make query component tuple type elems references
Diffstat (limited to 'engine/src/camera')
-rw-r--r--engine/src/camera/fly.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/src/camera/fly.rs b/engine/src/camera/fly.rs
index b71f875..087f727 100644
--- a/engine/src/camera/fly.rs
+++ b/engine/src/camera/fly.rs
@@ -75,7 +75,7 @@ pub struct Options
}
fn update(
- camera_query: Query<(Camera, Position, Fly, ActiveCamera)>,
+ camera_query: Query<(&mut Camera, &mut Position, &mut Fly, &ActiveCamera)>,
keys: Single<Keys>,
cursor: Single<Cursor>,
cursor_flags: Single<CursorFlags>,