finished renaming types

This commit is contained in:
awtterpip
2024-04-18 17:28:53 -05:00
parent e2f7f840a9
commit afdb046ba8
4 changed files with 8 additions and 8 deletions

View File

@@ -418,7 +418,7 @@ fn init_xr_session(
/// This is used solely to transport resources from the main world to the render world.
#[derive(Resource)]
struct XrRenderResources {
struct OxrRenderResources {
session: OxrSession,
frame_stream: OxrFrameStream,
swapchain: OxrSwapchain,
@@ -446,7 +446,7 @@ pub fn create_xr_session(
commands.insert_resource(images.clone());
commands.insert_resource(graphics_info.clone());
commands.insert_resource(stage.clone());
commands.insert_resource(XrRenderResources {
commands.insert_resource(OxrRenderResources {
session,
frame_stream,
swapchain,
@@ -475,7 +475,7 @@ pub fn end_xr_session(session: Res<OxrSession>, session_started: Res<OxrSessionS
/// This system transfers important render resources from the main world to the render world when a session is created.
pub fn transfer_xr_resources(mut commands: Commands, mut world: ResMut<MainWorld>) {
let Some(XrRenderResources {
let Some(OxrRenderResources {
session,
frame_stream,
swapchain,