[client] egl: add and use default quad helper for models

This commit is contained in:
Geoffrey McRae
2018-12-12 20:08:52 +11:00
parent 608b67af77
commit b9f8f1a0ad
5 changed files with 28 additions and 56 deletions

View File

@@ -30,6 +30,7 @@ typedef struct EGL_Model EGL_Model;
bool egl_model_init(EGL_Model ** model);
void egl_model_free(EGL_Model ** model);
void egl_model_set_default (EGL_Model * model);
void egl_model_set_verticies (EGL_Model * model, const GLfloat * verticies, const size_t count);
void egl_model_set_uvs (EGL_Model * model, const GLfloat * uvs , const size_t count);
void egl_model_set_shader (EGL_Model * model, EGL_Shader * shader);