Fix pbr
example text rotation (#19571)
# Objective This example migration was missed in #16615 https://pixel-eagle.com/project/b25a040a-a980-4602-b90c-d480ab84076d/run/10633/compare/10627?screenshot=3D+Rendering/pbr.png ## Solution Use new `UiTransform` ## Testing `cargo run --example pbr`
This commit is contained in:
parent
57ddae1e93
commit
8537718c6b
@ -85,8 +85,8 @@ fn setup(
|
|||||||
right: Val::ZERO,
|
right: Val::ZERO,
|
||||||
..default()
|
..default()
|
||||||
},
|
},
|
||||||
Transform {
|
UiTransform {
|
||||||
rotation: Quat::from_rotation_z(std::f32::consts::PI / 2.0),
|
rotation: Rot2::degrees(90.),
|
||||||
..default()
|
..default()
|
||||||
},
|
},
|
||||||
));
|
));
|
||||||
|
Loading…
Reference in New Issue
Block a user