Code to generate disortion meshes.
More...
#include "util/u_misc.h"
#include "util/u_frame.h"
#include "util/u_debug.h"
#include "util/u_format.h"
#include "util/u_distortion_mesh.h"
#include "math/m_vec2.h"
#include <stdio.h>
#include <assert.h>
|
#define | mul m_vec2_mul |
|
#define | mul_scalar m_vec2_mul_scalar |
|
#define | add m_vec2_add |
|
#define | sub m_vec2_sub |
|
#define | div m_vec2_div |
|
#define | div_scalar m_vec2_div_scalar |
|
#define | len m_vec2_len |
|
|
void | run_func (struct u_uv_generator *gen, int num_views, struct xrt_hmd_parts *target, size_t num) |
|
void | u_distortion_mesh_from_gen (struct u_uv_generator *gen, int num_views, struct xrt_hmd_parts *target) |
| Given a u_uv_generator generates num_views meshes, populates target. More...
|
|
void | u_distortion_mesh_from_panotools (const struct u_panotools_values *left, const struct u_panotools_values *right, struct xrt_hmd_parts *target) |
| Given two sets of panotools values creates the left and th right uv meshes. More...
|
|
void | u_distortion_mesh_generator_from_panotools (const struct u_panotools_values *left, const struct u_panotools_values *right, struct u_uv_generator **out_gen) |
| Given two sets of panotools values creates a mesh generator, copies the values into it. More...
|
|
void | u_distortion_mesh_none (struct xrt_hmd_parts *target) |
| Create two distortion meshes with no distortion. More...
|
|
Code to generate disortion meshes.
- Author
- Jakob Bornecrantz jakob.nosp@m.@col.nosp@m.labor.nosp@m.a.co.nosp@m.m
◆ add
◆ div
◆ div_scalar
#define div_scalar m_vec2_div_scalar |
◆ len
◆ mul
◆ mul_scalar
#define mul_scalar m_vec2_mul_scalar |
◆ sub
◆ func_cb
◆ run_func()