mirror of
https://github.com/godotengine/godot.git
synced 2025-10-28 12:14:44 +00:00
Adding HTC tracker support
This commit is contained in:
parent
9ddf13e7ad
commit
95f75b232f
8 changed files with 387 additions and 4 deletions
|
|
@ -48,7 +48,9 @@
|
|||
#include "extensions/openxr_vulkan_extension.h"
|
||||
#endif
|
||||
|
||||
#include "openxr_interface.h"
|
||||
#include "extensions/openxr_htc_vive_tracker_extension.h"
|
||||
|
||||
#include "modules/openxr/openxr_interface.h"
|
||||
|
||||
OpenXRAPI *OpenXRAPI::singleton = nullptr;
|
||||
|
||||
|
|
@ -1644,6 +1646,9 @@ OpenXRAPI::OpenXRAPI() {
|
|||
// our android wrapper will initialize our android loader at this point
|
||||
register_extension_wrapper(memnew(OpenXRAndroidExtension(this)));
|
||||
#endif
|
||||
|
||||
// register our other extensions
|
||||
register_extension_wrapper(memnew(OpenXRHTCViveTrackerExtension(this)));
|
||||
}
|
||||
|
||||
OpenXRAPI::~OpenXRAPI() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue