Small CameraController extension

This commit is contained in:
Georg Hagen
2024-06-23 23:25:38 +02:00
parent ef666fae8f
commit 162cab72fb
3 changed files with 5 additions and 1 deletions

View File

@@ -40,6 +40,8 @@ namespace OpenVulkano
void Close() override; void Close() override;
void SetRegistration(const Math::Matrix4f& reg) { m_registration = reg; }
[[nodiscard]] std::shared_ptr<AR::ArSession> GetArSession() const { return m_arSession; } [[nodiscard]] std::shared_ptr<AR::ArSession> GetArSession() const { return m_arSession; }
private: private:

View File

@@ -40,7 +40,7 @@ namespace OpenVulkano
void SetPivotPoint(const Math::Vector4f_SIMD& pivotPoint) { m_pivotPoint = pivotPoint; } void SetPivotPoint(const Math::Vector4f_SIMD& pivotPoint) { m_pivotPoint = pivotPoint; }
void SetActive(); void SetActive() override;
void SetDefaultKeybindings(); void SetDefaultKeybindings();

View File

@@ -35,5 +35,7 @@ namespace OpenVulkano
void SetCamera(Scene::Camera* camera) { m_camera = camera; } void SetCamera(Scene::Camera* camera) { m_camera = camera; }
Scene::Camera* GetCamera() { return m_camera; } Scene::Camera* GetCamera() { return m_camera; }
virtual void SetActive() {}
}; };
} }