update to entt v3.9.0

This commit is contained in:
2021-12-13 18:42:22 +01:00
parent 494912ce8a
commit 81043264d2
12 changed files with 66 additions and 34 deletions

View File

@ -51,7 +51,7 @@ namespace Systems {
}
// elastic scale easing
void elasic_scale_easing(entt::view<entt::exclude_t<>, MM::Components::Transform2D, Components::easing> view, const MM::Components::TimeDelta& td) {
void elasic_scale_easing(entt::view<entt::get_t<MM::Components::Transform2D, Components::easing>> view, const MM::Components::TimeDelta& td) {
view.each([&td](auto& t, auto& easing_comp) {
easing_comp.accumulator += td.tickDelta;