Move free cam camera controlls into it's own class
This commit is contained in:
23
openVulkanoCpp/Base/FrameMetadata.hpp
Normal file
23
openVulkanoCpp/Base/FrameMetadata.hpp
Normal 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 = {};
|
||||
}
|
||||
Reference in New Issue
Block a user