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>
|
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...
|
|
◆ DEG_FORMAT
#define DEG_FORMAT "%0.1f deg" |
◆ METERS_FORMAT
#define METERS_FORMAT "%0.4fm" |