Monado OpenXR Runtime
u_distortion.h File Reference

Code to handle distortion parameters and fov. More...

#include "xrt/xrt_defines.h"
Include dependency graph for u_distortion.h:

Go to the source code of this file.

Data Structures

struct  u_cardboard_distortion_arguments
 These are the values that you need to supply to the distortion code to setup a u_cardboard_distortion properly. More...
 
struct  u_cardboard_distortion_values
 Values to create a distortion mesh from cardboard values. More...
 
struct  u_cardboard_distortion
 Both given and derived values needed for cardboard distortion. More...
 

Functions

void u_distortion_cardboard_calculate (const struct u_cardboard_distortion_arguments *args, struct xrt_hmd_parts *parts, struct u_cardboard_distortion *out_dist)
 Take cardboard arguments to turn them into a u_cardboard_distortion and fill out a xrt_hmd_parts struct. More...
 

Detailed Description

Code to handle distortion parameters and fov.

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