This commit is contained in:
Carter Anderson 2020-03-08 20:29:21 -07:00
parent c5f781b4e5
commit 9d2909b43e
2 changed files with 3 additions and 2 deletions

View file

@ -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

View file

@ -1,4 +1,4 @@
use bevy::{asset, prelude::*};
use bevy::prelude::*;
use rand::{rngs::StdRng, Rng, SeedableRng};
use std::collections::VecDeque;