mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-09 21:11:50 +00:00
SP and TP cameras
This commit is contained in:
parent
3ae3001227
commit
20caa4b980
9 changed files with 123 additions and 7 deletions
|
|
@ -180,7 +180,7 @@ void LevelScreen::update(float delta) {
|
|||
}
|
||||
|
||||
void LevelScreen::draw(float delta) {
|
||||
Camera* camera = level->player->camera;
|
||||
Camera* camera = level->player->currentViewCamera;
|
||||
|
||||
Viewport viewport(Window::width, Window::height);
|
||||
GfxContext ctx(nullptr, viewport, nullptr);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue