| 108 | } |
| 109 | |
| 110 | static void DestroyModel(Model* model) |
| 111 | { |
| 112 | free((void*)model->m_Name); |
| 113 | for (uint32_t i = 0; i < model->m_Meshes.Size(); ++i) |
| 114 | DestroyMesh(&model->m_Meshes[i]); |
| 115 | model->m_Meshes.SetCapacity(0); |
| 116 | } |
| 117 | |
| 118 | static void DestroyNode(Node* node) |
| 119 | { |
no test coverage detected