Monado OpenXR Runtime
|
Functions related to field-of-view. More...
#include "math/m_api.h"
#include "util/u_debug.h"
#include <math.h>
#include <stdio.h>
#include <assert.h>
Macros | |
#define | METERS_FORMAT "%0.4fm" |
#define | DEG_FORMAT "%0.1f deg" |
Functions | |
bool | math_compute_fovs (double w_total, double w_1, double horizfov_total, double h_total, double h_1, double vertfov_total, struct xrt_fov *fov) |
Perform the computations from "Computing Half-Fields-Of-View from Simpler Display Models", to get half-FOVs from things we can retrieve from other APIs. More... | |
Functions related to field-of-view.