Small CameraController extension
This commit is contained in:
@@ -40,6 +40,8 @@ namespace OpenVulkano
|
||||
|
||||
void Close() override;
|
||||
|
||||
void SetRegistration(const Math::Matrix4f& reg) { m_registration = reg; }
|
||||
|
||||
[[nodiscard]] std::shared_ptr<AR::ArSession> GetArSession() const { return m_arSession; }
|
||||
|
||||
private:
|
||||
|
||||
@@ -40,7 +40,7 @@ namespace OpenVulkano
|
||||
|
||||
void SetPivotPoint(const Math::Vector4f_SIMD& pivotPoint) { m_pivotPoint = pivotPoint; }
|
||||
|
||||
void SetActive();
|
||||
void SetActive() override;
|
||||
|
||||
void SetDefaultKeybindings();
|
||||
|
||||
|
||||
@@ -35,5 +35,7 @@ namespace OpenVulkano
|
||||
void SetCamera(Scene::Camera* camera) { m_camera = camera; }
|
||||
|
||||
Scene::Camera* GetCamera() { return m_camera; }
|
||||
|
||||
virtual void SetActive() {}
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user