mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-11-21 18:09:46 +00:00
optimize animator
This commit is contained in:
parent
17bdbb1a38
commit
fd17ce32ab
11 changed files with 294 additions and 2 deletions
|
|
@ -270,6 +270,7 @@ void LevelScreen::draw(float delta) {
|
|||
const DrawContext ctx(nullptr, engine.getWindow(), batch.get());
|
||||
|
||||
if (!hud->isPause()) {
|
||||
renderer->updateEntitiesCulling(camera);
|
||||
scripting::on_entities_render(engine.getTime().getDelta());
|
||||
scripting::on_frontend_render();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue