engine: separate tick and render functions

This commit is contained in:
2019-03-17 08:42:24 +07:00
parent c6b1df93ca
commit 7f17d235ca
10 changed files with 49 additions and 21 deletions

View File

@@ -118,8 +118,8 @@ namespace
bool create_systems() {
ecs::registry_filler(the<world>().registry())
.system<game_system>(world::priority_update)
.system<camera_system>(world::priority_update)
.system<rotator_system>(world::priority_update);
.system<rotator_system>(world::priority_update)
.system<camera_system>(world::priority_pre_render);
return true;
}
};