Skip to content

Commit

Permalink
Fix auto_exposure example (#15827)
Browse files Browse the repository at this point in the history
# 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`
  • Loading branch information
rparrett authored Oct 10, 2024
1 parent 11d1ebe commit 7fa77a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/3d/auto_exposure.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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),
));
}
}
Expand Down

0 comments on commit 7fa77a3

Please sign in to comment.