Skip to content

Commit

Permalink
better example
Browse files Browse the repository at this point in the history
  • Loading branch information
Neo-Zhixing committed Feb 7, 2021
1 parent 0dee3b0 commit 60a3646
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion examples/3d/3d_scene.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
use bevy::prelude::*;
use bevy_internal::{
render::wireframe::{Wireframe, WireframePlugin},
render::wireframe::{Wireframe, WireframeConfig, WireframePlugin},
wgpu::{WgpuFeatures, WgpuOptions},
};

Expand All @@ -21,9 +21,11 @@ fn main() {
/// set up a simple 3D scene
fn setup(
commands: &mut Commands,
mut wireframe_config: ResMut<WireframeConfig>,
mut meshes: ResMut<Assets<Mesh>>,
mut materials: ResMut<Assets<StandardMaterial>>,
) {
wireframe_config.global = false;
// add entities to the world
commands
// plane
Expand Down

0 comments on commit 60a3646

Please sign in to comment.