SP and TP cameras

This commit is contained in:
A-lex-Ra
2023-12-11 22:22:52 +06:00
parent 3ae3001227
commit 20caa4b980
9 changed files with 123 additions and 7 deletions
+1 -1
View File
@@ -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);