Monado OpenXR Runtime
Functions | Variables
oxr_space.c File Reference

So much space! More...

#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "math/m_api.h"
#include "util/u_debug.h"
#include "util/u_misc.h"
#include "oxr_objects.h"
#include "oxr_logger.h"
#include "oxr_handle.h"
Include dependency graph for oxr_space.c:

Functions

XrResult oxr_space_action_create (struct oxr_logger *log, struct oxr_session *sess, uint64_t key, const XrActionSpaceCreateInfo *createInfo, struct oxr_space **out_space)
 
XrResult oxr_space_reference_create (struct oxr_logger *log, struct oxr_session *sess, const XrReferenceSpaceCreateInfo *createInfo, struct oxr_space **out_space)
 
XrResult oxr_space_ref_relation (struct oxr_logger *log, struct oxr_session *sess, XrReferenceSpaceType space, XrReferenceSpaceType baseSpc, XrTime time, struct xrt_space_relation *out_relation)
 This returns only the relation between two spaces without any of the app given relations applied, assumes that both spaces are reference spaces. More...
 
XrResult oxr_space_action_relation (struct oxr_logger *log, struct oxr_session *sess, struct oxr_space *spc, struct oxr_space *baseSpc, XrTime at_time, struct xrt_space_relation *out_relation)
 This returns only the relation between two spaces without any of the app given relations applied, assumes that only one is a action space. More...
 
XrResult oxr_space_locate (struct oxr_logger *log, struct oxr_space *spc, struct oxr_space *baseSpc, XrTime time, XrSpaceLocation *location)
 

Variables

const struct xrt_pose origin = {{0.0f, 0.0f, 0.0f, 1.0f}, {0.0f, 0.0f, 0.0f}}
 

Detailed Description

So much space!

Author
Jakob Bornecrantz jakob.nosp@m.@col.nosp@m.labor.nosp@m.a.co.nosp@m.m

Function Documentation

◆ oxr_space_action_relation()

XrResult oxr_space_action_relation ( struct oxr_logger log,
struct oxr_session sess,
struct oxr_space spc,
struct oxr_space baseSpc,
XrTime  at_time,
struct xrt_space_relation out_relation 
)

Variable Documentation

◆ origin

const struct xrt_pose origin = {{0.0f, 0.0f, 0.0f, 1.0f}, {0.0f, 0.0f, 0.0f}}

Referenced by Ray::Ray().