Store all spaces in an array

This commit is contained in:
Patrick Nicolas
2024-10-05 13:55:20 +02:00
parent 3c09db939f
commit 974c90a36c
9 changed files with 49 additions and 64 deletions
+13
View File
@@ -25,4 +25,17 @@
namespace xr
{
using space = utils::handle<XrSpace, xrDestroySpace>;
enum class spaces
{
world,
view,
eye_gaze,
grip_left,
grip_right,
aim_left,
aim_right,
count
};
} // namespace xr