Merge pull request #103685 from lawnjelly/fti_scene_tree

[3.x] Physics Interpolation - Move 3D FTI to `SceneTree`
This commit is contained in:
lawnjelly 2025-03-30 15:46:13 +01:00 committed by GitHub
commit 5155fe5a4f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
25 changed files with 599 additions and 424 deletions

View file

@ -105,6 +105,15 @@ public:
}
}
bool erase_unordered(const T &p_val) {
int64_t idx = find(p_val);
if (idx >= 0) {
remove_unordered(idx);
return true;
}
return false;
}
U erase_multiple_unordered(const T &p_val) {
U from = 0;
U count = 0;