mirror of
				https://github.com/godotengine/godot.git
				synced 2025-10-31 21:51:22 +00:00 
			
		
		
		
	Ensure OpenXR classes are declared properly
Co-authored-by: Bastiaan Olij <mux213@gmail.com>
This commit is contained in:
		
							parent
							
								
									6da4ad1662
								
							
						
					
					
						commit
						c23bd8b143
					
				
					 23 changed files with 132 additions and 81 deletions
				
			
		|  | @ -30,7 +30,7 @@ | |||
| 
 | ||||
| #include "openxr_pico_controller_extension.h" | ||||
| 
 | ||||
| #include "../action_map/openxr_interaction_profile_meta_data.h" | ||||
| #include "../action_map/openxr_interaction_profile_metadata.h" | ||||
| 
 | ||||
| // Pico controllers are not part of the OpenXR spec at the time of writing this
 | ||||
| // code. We'll hardcode the extension name that is used internally, verified by
 | ||||
|  | @ -53,7 +53,7 @@ bool OpenXRPicoControllerExtension::is_available() { | |||
| } | ||||
| 
 | ||||
| void OpenXRPicoControllerExtension::on_register_metadata() { | ||||
| 	OpenXRInteractionProfileMetaData *metadata = OpenXRInteractionProfileMetaData::get_singleton(); | ||||
| 	OpenXRInteractionProfileMetadata *metadata = OpenXRInteractionProfileMetadata::get_singleton(); | ||||
| 	ERR_FAIL_NULL(metadata); | ||||
| 
 | ||||
| 	// Pico controller (Pico 4 and Pico Neo 3 controllers)
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 A Thousand Ships
						A Thousand Ships