Skip to content

Commit

Permalink
Remove diagnostics from 3d_scene.rs example
Browse files Browse the repository at this point in the history
  • Loading branch information
alice-i-cecile authored Mar 17, 2024
1 parent 02e8c99 commit 1e5de0e
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions examples/3d/3d_scene.rs
Original file line number Diff line number Diff line change
@@ -1,14 +1,10 @@
//! A simple 3D scene with light shining over a cube sitting on a plane.

use bevy::diagnostic::LogDiagnosticsPlugin;
use bevy::prelude::*;
use bevy::render::diagnostic::RenderDiagnosticsPlugin;

fn main() {
App::new()
.add_plugins(DefaultPlugins)
.add_plugins(RenderDiagnosticsPlugin)
.add_plugins(LogDiagnosticsPlugin::default())
.add_systems(Startup, setup)
.run();
}
Expand Down

0 comments on commit 1e5de0e

Please sign in to comment.