Monado OpenXR Runtime
|
Visibility mask utilitary. More...
#include "math/m_mathinclude.h"
#include "u_misc.h"
#include "u_visibility_mask.h"
#include "u_logging.h"
#include <string.h>
Functions | |
void | u_visibility_mask_get_default (enum xrt_visibility_mask_type type, const struct xrt_fov *fov, struct xrt_visibility_mask **out_mask) |
Default visibility mask, only returns a very simple mask with four small triangles in each corner, scaled to the given FoV so it matches the OpenXR conventions. More... | |
Variables | |
static const struct xrt_vec2 | vertices_hidden [] |
static const uint32_t | indices_hidden [] = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11} |
static const struct xrt_vec2 | vertices_visible [] |
static const uint32_t | indices_visible [] |
static const struct xrt_vec2 | vertices_line [] |
static const uint32_t | indices_line [] = {0, 1, 2, 3, 4, 5, 6, 7} |
Visibility mask utilitary.
|
static |
|
static |
|
static |
|
static |