diff --git a/examples/3d/mixed_lighting.rs b/examples/3d/mixed_lighting.rs index e9870b86e2..0dfb239538 100644 --- a/examples/3d/mixed_lighting.rs +++ b/examples/3d/mixed_lighting.rs @@ -157,7 +157,7 @@ fn setup(mut commands: Commands, asset_server: Res, app_status: Res fn spawn_camera(commands: &mut Commands) { commands .spawn(Camera3d::default()) - .insert(Transform::from_xyz(0.7, 0.7, -1.0).looking_at(vec3(0.0, 0.3, 0.0), Vec3::Y)); + .insert(Transform::from_xyz(-0.7, 0.7, 1.0).looking_at(vec3(0.0, 0.3, 0.0), Vec3::Y)); } /// Spawns the scene. @@ -165,11 +165,14 @@ fn spawn_camera(commands: &mut Commands) { /// The scene is loaded from a glTF file. fn spawn_scene(commands: &mut Commands, asset_server: &AssetServer) { commands - .spawn(SceneRoot( - asset_server.load( - GltfAssetLabel::Scene(0) - .from_asset("models/MixedLightingExample/MixedLightingExample.gltf"), + .spawn(( + SceneRoot( + asset_server.load( + GltfAssetLabel::Scene(0) + .from_asset("models/MixedLightingExample/MixedLightingExample.gltf"), + ), ), + Transform::default().looking_to(Vec3::Z, Vec3::Y), )) .observe( |_: On,