Go to the source code of this file.
|
typedef | void (GL_APIENTRY *PFNGLFRAMEBUFFERTEXTUREMULTISAMPLEMULTIVIEWOVR)(GLenum |
|
Framebuffer | make_eye_framebuffer (int width, int height, int num_views) |
|
GLuint | make_cube () |
|
vec2 | compute_distortion (float x, float y, vec2 distort_centre, DistortionCoefficients coefficients, float tex_coord_factor) |
|
GLuint | make_warp_mesh (LensConfig config) |
|
mat4 | make_frustum (float left_fov, float right_fov, float bottom_fov, float top_fov, float z_near, float z_far) |
|
mat4 | make_frustum_screen_viewer (float eye_display_distance, float left, float right, float bottom, float top, float z_near, float z_far) |
|
void | app_initialize (App *app) |
|
void | draw_scene (App *app) |
|
void | app_update_and_render (App *app) |
|
#define Warp_Mesh_Resolution_X 64 |
#define Warp_Mesh_Resolution_Y 64 |
#define Z_Far Meter(12.0f) |
void app_update_and_render |
( |
App * |
app | ) |
|
Framebuffer make_eye_framebuffer |
( |
int |
width, |
|
|
int |
height, |
|
|
int |
num_views |
|
) |
| |
mat4 make_frustum |
( |
float |
left_fov, |
|
|
float |
right_fov, |
|
|
float |
bottom_fov, |
|
|
float |
top_fov, |
|
|
float |
z_near, |
|
|
float |
z_far |
|
) |
| |
mat4 make_frustum_screen_viewer |
( |
float |
eye_display_distance, |
|
|
float |
left, |
|
|
float |
right, |
|
|
float |
bottom, |
|
|
float |
top, |
|
|
float |
z_near, |
|
|
float |
z_far |
|
) |
| |
typedef void |
( |
GL_APIENTRY * |
PFNGLFRAMEBUFFERTEXTUREMULTISAMPLEMULTIVIEWOVR | ) |
|