Skip to content

Commit 6e5be4b

Browse files
committed
remove debug prints
1 parent 8dbe30e commit 6e5be4b

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

examples/bevy_egui.rs

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -83,12 +83,8 @@ fn voxel_plot_setup(
8383
) {
8484
let (instances, cube_width, cube_height, cube_depth) = generate_dummy_data();
8585

86-
dbg!(&instances.len());
87-
8886
let mut instances: Vec<InstanceData> = instances.into_iter().collect();
8987

90-
// TODO: needs to be sped up
91-
9288
// Sort by opacity (color alpha channel) descending
9389
instances.sort_by(|a, b| {
9490
b.color[3]
@@ -107,8 +103,6 @@ fn voxel_plot_setup(
107103
println!("Auto threshold for opacity was: {}", threshold);
108104
}
109105

110-
dbg!(&instances.len());
111-
112106
commands.spawn((
113107
Mesh3d(meshes.add(Cuboid::new(cube_width, cube_height, cube_depth))),
114108
InstanceMaterialData { instances },

0 commit comments

Comments
 (0)