Rename files
This commit is contained in:
@@ -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
|
||||
{
|
||||
|
||||
@@ -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; }
|
||||
@@ -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"
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "AR/ArSession.h"
|
||||
#include "AR/ArSession.hpp"
|
||||
|
||||
namespace openVulkanoCpp::AR::Network
|
||||
{
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "AR/ArFrame.h"
|
||||
#include "AR/ArFrame.hpp"
|
||||
#include "ArPlaybackReader.hpp"
|
||||
|
||||
namespace openVulkanoCpp::AR::Playback
|
||||
|
||||
@@ -70,6 +70,7 @@ namespace openVulkanoCpp::AR::Playback
|
||||
Logger::AR->error("Failed to read AR frame: {}", e.what());
|
||||
}
|
||||
Stop();
|
||||
OnSessionInterruptionChange(true);
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "AR/ArSession.h"
|
||||
#include "AR/ArSession.hpp"
|
||||
#include "ArPlaybackReader.hpp"
|
||||
#include "Math/Timestamp.hpp"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user