Move free cam camera controlls into it's own class
This commit is contained in:
@@ -7,6 +7,7 @@
|
||||
#include "GraphicsAppManager.hpp"
|
||||
#include "Base/IPlatform.hpp"
|
||||
#include "Base/Logger.hpp"
|
||||
#include "Base/FrameMetadata.hpp"
|
||||
#include "PlatformProducer.hpp"
|
||||
#include <chrono>
|
||||
#include <thread>
|
||||
@@ -130,6 +131,8 @@ namespace openVulkanoCpp
|
||||
renderer->Tick();
|
||||
frameTimer.Tick();
|
||||
UpdateFps();
|
||||
CURRENT_FRAME.frameId = frameCount;
|
||||
CURRENT_FRAME.frameTime = frameTimer.GetTickSeconds();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user