Reordering of Sources in list.

This commit is contained in:
brunoherbelin
2021-01-25 22:24:08 +01:00
parent 49ec387cfa
commit 54c5eb6155
4 changed files with 50 additions and 9 deletions

View File

@@ -43,7 +43,8 @@ public:
std::list<uint64_t> getIdList() const;
SourceList::iterator at (int index);
int index (SourceList::iterator it) const;
int index (SourceList::iterator it) const;
void move (int current_index, int target_index);
// update all sources and mark sources which failed
void update (float dt);