| 148 | } |
| 149 | |
| 150 | static void DestroyAnimation(Animation* animation) |
| 151 | { |
| 152 | free((void*)animation->m_Name); |
| 153 | for (uint32_t i = 0; i < animation->m_NodeAnimations.Size(); ++i) |
| 154 | DestroyNodeAnimation(&animation->m_NodeAnimations[i]); |
| 155 | animation->m_NodeAnimations.SetCapacity(0); |
| 156 | } |
| 157 | |
| 158 | static void DestroyMaterial(Material* material) |
| 159 | { |
no test coverage detected