Drag and drop prefab into scene tree. Play pause snapshot system

This commit is contained in:
antopilo
2021-09-08 21:28:53 -04:00
parent b403082ca2
commit 33b3962e51
9 changed files with 107 additions and 56 deletions

View File

@@ -70,8 +70,7 @@ int main()
//newEditor.Update(0.f);
if (Nuake::Input::IsKeyPressed(GLFW_KEY_F8))
Nuake::Engine::ExitPlayMode();
Nuake::Vector2 WindowSize = Nuake::Engine::GetCurrentWindow()->GetSize();
glViewport(0, 0, WindowSize.x, WindowSize.y);