First working version of IQM animations
Still a work in progress but it already works... Current riqm API could be simplified...
This commit is contained in:
parent
a5311eddf0
commit
198a023527
1 changed files with 83 additions and 6458 deletions
|
|
@ -2652,6 +2652,11 @@ void rlUnloadMesh(Mesh *mesh)
|
|||
if (mesh->tangents != NULL) free(mesh->tangents);
|
||||
if (mesh->texcoords2 != NULL) free(mesh->texcoords2);
|
||||
if (mesh->indices != NULL) free(mesh->indices);
|
||||
|
||||
if (mesh->baseVertices != NULL) free(mesh->baseVertices);
|
||||
if (mesh->baseNormals != NULL) free(mesh->baseNormals);
|
||||
if (mesh->weightBias != NULL) free(mesh->weightBias);
|
||||
if (mesh->weightId != NULL) free(mesh->weightId);
|
||||
|
||||
rlDeleteBuffers(mesh->vboId[0]); // vertex
|
||||
rlDeleteBuffers(mesh->vboId[1]); // texcoords
|
||||
|
|
|
|||
Loading…
Reference in a new issue