OpenGL2: Interleave vertex data for static MD3s.
This commit is contained in:
parent
05e07311ba
commit
541d3a40c2
3 changed files with 132 additions and 83 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue