Made selection outline during play mode impossible and made outline outside of selected game object

This commit is contained in:
Antoine Pilote
2024-03-16 11:26:32 -04:00
parent ccdb305b54
commit 1fa0fd635f
6 changed files with 95 additions and 62 deletions

View File

@@ -6,7 +6,7 @@
#include "src/Core/FileSystem.h"
#include "src/Scripting/ScriptingEngine.h"
#include "src/Audio/AudioManager.h"
#include "src/Threading/JobSystem.h"
#include "src/Rendering/Renderer.h"
#include "src/Rendering/Renderer2D.h"
@@ -41,6 +41,8 @@ namespace Nuake
void Engine::Tick()
{
JobSystem::Get().Update();
s_Time = static_cast<float>(glfwGetTime());
s_TimeStep = s_Time - s_LastFrameTime;
s_LastFrameTime = s_Time;