Move free cam camera controlls into it's own class

This commit is contained in:
2021-05-29 15:26:23 +02:00
parent d80249cd1c
commit a5d5f53ae7
5 changed files with 167 additions and 36 deletions

View File

@@ -0,0 +1,23 @@
/*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at https://mozilla.org/MPL/2.0/.
*/
#pragma once
#include <cinttypes>
namespace openVulkanoCpp
{
class FrameMetadata final
{
public:
uint64_t frameId = 0;
double frameTime = 1;
FrameMetadata() = default;
};
inline FrameMetadata CURRENT_FRAME = {};
}