mirror of
https://github.com/MadeOfJelly/MushMachine.git
synced 2025-06-18 18:56:36 +02:00
update to entt v3.9.0
This commit is contained in:
@ -28,7 +28,7 @@ using namespace entt::literals;
|
||||
|
||||
const char* argv0;
|
||||
|
||||
void update_spritesheet_animation(entt::view<entt::exclude_t<>, MM::OpenGL::SpriteSheetRenderable> view, float& accu, const MM::Components::TimeDelta& td) {
|
||||
void update_spritesheet_animation(entt::view<entt::get_t<MM::OpenGL::SpriteSheetRenderable>> view, float& accu, const MM::Components::TimeDelta& td) {
|
||||
accu += td.tickDelta;
|
||||
|
||||
if (accu >= 1.f/10) {
|
||||
|
@ -24,7 +24,7 @@
|
||||
|
||||
using namespace entt::literals;
|
||||
|
||||
void update_spritesheet_animation(entt::view<entt::exclude_t<>, MM::OpenGL::SpriteSheetRenderable> view, float& accu, const MM::Components::TimeDelta& td) {
|
||||
void update_spritesheet_animation(entt::view<entt::get_t<MM::OpenGL::SpriteSheetRenderable>> view, float& accu, const MM::Components::TimeDelta& td) {
|
||||
accu += td.tickDelta;
|
||||
|
||||
if (accu >= 1.f/10) {
|
||||
|
Reference in New Issue
Block a user