OpenGL ES SDK for Android
ARM Developer Center
|
#include "tessellation.h"
Go to the source code of this file.
Classes | |
struct | Vertex |
Macros | |
#define | QUAD_RES_X 16 |
#define | QUAD_RES_Y 16 |
#define | SIDES_IN_A_CUBE 6 |
#define | NUM_PATCHES (QUAD_RES_X * QUAD_RES_Y * SIDES_IN_A_CUBE) |
#define | VERTICES_PER_PATCH 4 |
#define | CUBE_SIDE_BIAS 0.0f |
Enumerations | |
enum | CubeSide { Top, Bottom, Left, Right, Front, Back } |
Functions | |
int | fill_cube_side (Vertex *v, CubeSide side) |
GLuint | make_cube_mesh () |
GLuint | make_quad_mesh () |
void | app_initialize (App *app) |
float | animate_model_scale (float t) |
mat4 | animate_camera (float t) |
void | app_update_and_render (App *app) |
#define CUBE_SIDE_BIAS 0.0f |
#define NUM_PATCHES (QUAD_RES_X * QUAD_RES_Y * SIDES_IN_A_CUBE) |
Definition at line 25 of file tessellation.cpp.
#define QUAD_RES_X 16 |
Definition at line 22 of file tessellation.cpp.
#define QUAD_RES_Y 16 |
Definition at line 23 of file tessellation.cpp.
#define SIDES_IN_A_CUBE 6 |
Definition at line 24 of file tessellation.cpp.
#define VERTICES_PER_PATCH 4 |
Definition at line 26 of file tessellation.cpp.
enum CubeSide |
Enumerator | |
---|---|
Top | |
Bottom | |
Left | |
Right | |
Front | |
Back |
Definition at line 33 of file tessellation.cpp.
Definition at line 185 of file tessellation.cpp.
Definition at line 170 of file tessellation.cpp.
Definition at line 141 of file tessellation.cpp.
Definition at line 194 of file tessellation.cpp.
Definition at line 43 of file tessellation.cpp.
GLuint make_cube_mesh | ( | ) |
Definition at line 107 of file tessellation.cpp.
GLuint make_quad_mesh | ( | ) |
Definition at line 124 of file tessellation.cpp.