OpenGL2: Interleave vertex data for static MD3s.

This commit is contained in:
SmileTheory 2014-10-15 03:42:29 -07:00
parent 05e07311ba
commit 541d3a40c2
3 changed files with 132 additions and 83 deletions

View file

@ -125,8 +125,7 @@ typedef struct vao_s
int vertexesSize; // amount of memory data allocated for all vertices in bytes
vaoAttrib_t attribs[VAO_MAX_ATTRIBS];
uint32_t size_xyz;
uint32_t size_normal;
uint32_t frameSize; // bytes to skip per frame when doing vertex animation
uint32_t indexesIBO;
int indexesSize; // amount of memory data allocated for all triangles in bytes