From 7fa77a383f37ff54044a09f90f1a77ee1f9b2a7c Mon Sep 17 00:00:00 2001 From: Rob Parrett Date: Thu, 10 Oct 2024 10:24:26 -0700 Subject: [PATCH] Fix auto_exposure example (#15827) # Objective Fixes #15824 ## Solution Looks like this was just a goof in migrating the example itself. Added back in the rotation component of the transform that got dropped. ## Testing `cargo run --example auto_exposure` --- examples/3d/auto_exposure.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/3d/auto_exposure.rs b/examples/3d/auto_exposure.rs index 2caa63e5eeff3..3d6caea03f00d 100644 --- a/examples/3d/auto_exposure.rs +++ b/examples/3d/auto_exposure.rs @@ -96,7 +96,7 @@ fn setup( ), ..default() })), - Transform::from_translation(side * 2.0 + height), + Transform::from_translation(side * 2.0 + height).looking_at(height, Vec3::Y), )); } }