This commit is contained in:
2021-08-28 12:13:14 +02:00
parent ee4ad9a28d
commit e5ccf0879c
2 changed files with 9 additions and 9 deletions

View File

@@ -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);
}

View File

@@ -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