| 1318 | } |
| 1319 | |
| 1320 | static void MoveUp(Collection* collection, Instance* instance) |
| 1321 | { |
| 1322 | /* |
| 1323 | * Move instance up in hierarchy |
| 1324 | */ |
| 1325 | |
| 1326 | assert(instance->m_Depth > 0); |
| 1327 | EraseSwapLevelIndex(collection, instance); |
| 1328 | instance->m_Depth--; |
| 1329 | InsertInstanceInLevelIndex(collection, instance); |
| 1330 | } |
| 1331 | |
| 1332 | static void MoveAllUp(Collection* collection, Instance* instance) |
| 1333 | { |
no test coverage detected