mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-06 03:21:49 +00:00
New scripting features
This commit is contained in:
parent
05fe86e64c
commit
faabb8178a
10 changed files with 129 additions and 43 deletions
|
|
@ -149,7 +149,7 @@ void LevelScreen::draw(float delta) {
|
|||
Viewport viewport(Window::width, Window::height);
|
||||
GfxContext ctx(nullptr, viewport, batch.get());
|
||||
|
||||
worldRenderer->draw(ctx, camera.get());
|
||||
worldRenderer->draw(ctx, camera.get(), hudVisible);
|
||||
|
||||
if (hudVisible) {
|
||||
hud->draw(ctx);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue