Skip to content

Commit

Permalink
fix: minor fixes for 0.14
Browse files Browse the repository at this point in the history
  • Loading branch information
m-edlund committed Aug 5, 2024
1 parent ee6c7b1 commit f7f927f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/zoom_through.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ fn main() {
DefaultEditorCamPlugins,
))
.add_systems(Startup, (setup_camera, setup_scene))
.run()
.run();
}

fn setup_camera(mut commands: Commands) {
Expand All @@ -33,7 +33,7 @@ fn setup_scene(
mut meshes: ResMut<Assets<Mesh>>,
mut materials: ResMut<Assets<StandardMaterial>>,
) {
let material = materials.add(Color::rgba(0.1, 0.1, 0.9, 0.5));
let material = materials.add(Color::srgba(0.1, 0.1, 0.9, 0.5));
let mesh = meshes.add(Cuboid::from_size(Vec3::new(3.0, 3.0, 0.25)));

for i in 1..5 {
Expand Down

0 comments on commit f7f927f

Please sign in to comment.