Cleanup
This commit is contained in:
@@ -1,4 +1,11 @@
|
||||
/*
|
||||
* 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 <atomic>
|
||||
#include <vector>
|
||||
|
||||
@@ -27,7 +34,7 @@ namespace openVulkanoCpp
|
||||
|
||||
~ReadOnlyAtomicArrayQueue() = default;
|
||||
|
||||
size_t GetSize() const
|
||||
[[nodiscard]] size_t GetSize() const
|
||||
{
|
||||
return size.load(std::memory_order_relaxed);
|
||||
}
|
||||
|
||||
@@ -36,13 +36,6 @@ class CubesExampleAppImpl final : public CubesExampleApp
|
||||
Shader shader;
|
||||
std::vector<SimpleDrawable> drawablesPool;
|
||||
std::vector<Node> nodesPool;
|
||||
|
||||
InputAction* actionForward;
|
||||
InputAction* actionSide;
|
||||
InputAction* actionLookUp;
|
||||
InputAction* actionLookSide;
|
||||
|
||||
float yaw = 0, pitch = 0;
|
||||
Vector3f_SIMD position = {0,0,-10};
|
||||
|
||||
public:
|
||||
@@ -108,4 +101,4 @@ std::unique_ptr<openVulkanoCpp::IGraphicsApp> CubesExampleApp::Create()
|
||||
}
|
||||
|
||||
#pragma clang diagnostic pop
|
||||
#pragma clang diagnostic pop
|
||||
#pragma clang diagnostic pop
|
||||
Reference in New Issue
Block a user