Rename files

This commit is contained in:
2021-06-21 16:12:31 +02:00
parent d98aa4fa57
commit 88144df490
12 changed files with 11 additions and 12 deletions

View File

@@ -4,8 +4,8 @@
* file, You can obtain one at https://mozilla.org/MPL/2.0/.
*/
#include "ArFrame.h"
#include "ArSession.h"
#include "ArFrame.hpp"
#include "ArSession.hpp"
namespace openVulkanoCpp::AR
{

View File

@@ -79,7 +79,7 @@ namespace openVulkanoCpp::AR
void SetRecordingMode(RecordingMode mode) { recordingMode = mode; }
/**
* Chceks the currently used recording mode for the AR session
* Checks the currently used recording mode for the AR session
* @return The currently used recording mode
*/
[[nodiscard]] RecordingMode SetRecordingMode() { return recordingMode; }

View File

@@ -4,10 +4,8 @@
* file, You can obtain one at https://mozilla.org/MPL/2.0/.
*/
#include "ArSession.h"
#ifndef __APPLE__
#include "ArSession.hpp"
#include "Provider/Playback/ArSessionPlayback.h"
#endif
#include "Provider/Network/ArSessionStream.h"
#ifdef __APPLE__
#include "Provider/ArKit/ArSessionArKit.h"

View File

@@ -32,7 +32,7 @@ namespace openVulkanoCpp::AR
[[nodiscard]] std::string ToYaml() const;
float GetConfidenceNormalisationFactor() const
[[nodiscard]] float GetConfidenceNormalisationFactor() const
{
return 1.0f / static_cast<float>(confidenceRange.max);
}

View File

@@ -6,7 +6,7 @@
#pragma once
#include "AR/ArSession.h"
#include "AR/ArSession.hpp"
// Define the class of the native AR session to be used
#define NATIVE_AR_SESSION_CLASS ArCore::ArSessionArCore

View File

@@ -6,7 +6,7 @@
#pragma once
#include "AR/ArSession.h"
#include "AR/ArSession.hpp"
// Define the class of the native AR session to be used
#define NATIVE_AR_SESSION_CLASS ArSessionNull

View File

@@ -6,7 +6,7 @@
#pragma once
#include "AR/ArSession.h"
#include "AR/ArSession.hpp"
namespace openVulkanoCpp::AR::Network
{

View File

@@ -6,7 +6,7 @@
#pragma once
#include "AR/ArFrame.h"
#include "AR/ArFrame.hpp"
#include "ArPlaybackReader.hpp"
namespace openVulkanoCpp::AR::Playback

View File

@@ -70,6 +70,7 @@ namespace openVulkanoCpp::AR::Playback
Logger::AR->error("Failed to read AR frame: {}", e.what());
}
Stop();
OnSessionInterruptionChange(true);
return nullptr;
}

View File

@@ -6,7 +6,7 @@
#pragma once
#include "AR/ArSession.h"
#include "AR/ArSession.hpp"
#include "ArPlaybackReader.hpp"
#include "Math/Timestamp.hpp"