Adding HTC tracker support

This commit is contained in:
Bastiaan Olij 2022-03-09 19:09:25 +11:00
parent 9ddf13e7ad
commit 95f75b232f
8 changed files with 387 additions and 4 deletions

View file

@ -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() {