|
|
|
@ -94,6 +94,7 @@ meFreeMeshGroup(mesh_group& mesh_group) |
|
|
|
void |
|
|
|
void |
|
|
|
meFreeSimpleMesh(simple_mesh* mesh) |
|
|
|
meFreeSimpleMesh(simple_mesh* mesh) |
|
|
|
{ |
|
|
|
{ |
|
|
|
|
|
|
|
assert(mesh != nullptr); |
|
|
|
utilSafeFree(mesh->vertices); |
|
|
|
utilSafeFree(mesh->vertices); |
|
|
|
mesh->vertices = nullptr; |
|
|
|
mesh->vertices = nullptr; |
|
|
|
utilSafeFree(mesh->vert_colors); |
|
|
|
utilSafeFree(mesh->vert_colors); |
|
|
|
|