mirror of
https://github.com/bevyengine/bevy
synced 2024-11-21 20:23:28 +00:00
cleanup
This commit is contained in:
parent
c5f781b4e5
commit
9d2909b43e
2 changed files with 3 additions and 2 deletions
|
@ -92,6 +92,7 @@ fn setup(world: &mut World) {
|
|||
color: Vec4::new(0.0, 0.8, 0.0, 1.0),
|
||||
always_red: false,
|
||||
},
|
||||
translation: Translation::new(-2.0, 0.0, 0.0),
|
||||
..Default::default()
|
||||
})
|
||||
// cube
|
||||
|
@ -105,7 +106,7 @@ fn setup(world: &mut World) {
|
|||
color: Vec4::new(0.0, 0.0, 0.0, 1.0),
|
||||
always_red: true,
|
||||
},
|
||||
translation: Translation::new(3.0, 0.0, 0.0),
|
||||
translation: Translation::new(2.0, 0.0, 0.0),
|
||||
..Default::default()
|
||||
})
|
||||
// camera
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
use bevy::{asset, prelude::*};
|
||||
use bevy::prelude::*;
|
||||
use rand::{rngs::StdRng, Rng, SeedableRng};
|
||||
use std::collections::VecDeque;
|
||||
|
||||
|
|
Loading…
Reference in a new issue