update to bevy 0.15 rc

Signed-off-by: Schmarni <marnistromer@gmail.com>
This commit is contained in:
Schmarni
2024-11-20 10:04:49 +01:00
parent 690b433516
commit 7320ae8dac
34 changed files with 1338 additions and 1079 deletions

View File

@@ -150,16 +150,18 @@ pub fn init_views(
info!("{}", graphics_info.resolution);
let view_handle =
add_texture_view(&mut manual_texture_views, temp_tex, &graphics_info, index);
let cam = commands
.spawn((XrCameraBundle {
camera: Camera {
target: RenderTarget::TextureView(view_handle),
.spawn(
(XrCameraBundle {
camera: Camera {
target: RenderTarget::TextureView(view_handle),
..Default::default()
},
view: XrCamera(index),
..Default::default()
},
view: XrCamera(index),
..Default::default()
},))
}),
)
.remove::<Projection>()
.id();
match root.get_single() {
Ok(root) => {