From bcdb422b96678daf1c96f03704fce10ced312df4 Mon Sep 17 00:00:00 2001 From: Charlotte McElwain Date: Wed, 30 Oct 2024 10:02:32 -0700 Subject: [PATCH] Cleanup. --- examples/stress_tests/many_cubes.rs | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/examples/stress_tests/many_cubes.rs b/examples/stress_tests/many_cubes.rs index 010ed78dd9fd44..2853bd5fa0fe02 100644 --- a/examples/stress_tests/many_cubes.rs +++ b/examples/stress_tests/many_cubes.rs @@ -450,17 +450,6 @@ fn move_camera( camera_transform.rotate_x(delta); } -fn update_materials( - mut materials: ResMut>, -) { - let mut color_rng = ChaCha8Rng::seed_from_u64(42); - let mut texture_rng = ChaCha8Rng::seed_from_u64(42); - for (_, material) in materials.iter_mut() { - material.base_color = Color::srgb_u8(color_rng.gen(), color_rng.gen(), color_rng.gen()); - material.base_color_texture = None; - } -} - // System for printing the number of meshes on every tick of the timer fn print_mesh_count( time: Res