Skip to content

Commit

Permalink
clippy pedantic + extra todo item
Browse files Browse the repository at this point in the history
  • Loading branch information
GrandmasterB42 committed Sep 20, 2024
1 parent d570c40 commit c9e9c70
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,4 @@
- denoising
- importance sampling
- integrating with more bevy features
- CI
6 changes: 5 additions & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
//#![warn(clippy::pedantic)]
#![allow(clippy::type_complexity)]
#![allow(clippy::too_many_lines)]

use bevy::prelude::*;
use bevy_flycam::{FlyCam, NoCameraPlayerPlugin};
use bevy_inspector_egui::quick::WorldInspectorPlugin;
Expand Down Expand Up @@ -250,7 +254,7 @@ fn modify_raycast_backend(mut settings: ResMut<RaycastBackendSettings>) {
fn sync_picking_radius(
mut sync_items: Query<(&RaytracedSphere, &mut Transform), Changed<RaytracedSphere>>,
) {
for (sphere, mut transform) in sync_items.iter_mut() {
for (sphere, mut transform) in &mut sync_items {
transform.scale = Vec3::splat(sphere.radius);
}
}

0 comments on commit c9e9c70

Please sign in to comment.