Refactor some ArCameraController code

This commit is contained in:
2021-08-26 19:50:56 +02:00
parent 2364c05055
commit 3d92bef231
3 changed files with 7 additions and 12 deletions

View File

@@ -23,7 +23,7 @@ namespace openVulkanoCpp
{
std::shared_ptr<AR::ArSession> m_arSession;
Math::Matrix4f m_registration;
Math::Matrix4f m_matrixToUpdate;
Math::Matrix4f m_viewMatrixToUpdate;
std::mutex m_mutex;
std::atomic<bool> m_updated;
@@ -45,6 +45,6 @@ namespace openVulkanoCpp
private:
void Init();
void UpdateCameraTransformation(const Math::Matrix4f& transform);
void UpdateCameraViewMatrix(const Math::Matrix4f& transform);
};
}