Silence some warnings
This commit is contained in:
@@ -34,7 +34,10 @@ namespace OpenVulkano
|
||||
|
||||
~ArCameraController() override;
|
||||
|
||||
#pragma clang diagnostic push
|
||||
#pragma clang diagnostic ignored "-Woverloaded-virtual"
|
||||
void Init(Scene::Camera* camera, const std::shared_ptr<AR::ArSession>& session = nullptr, const Math::Matrix4f& registration = Math::Matrix4f (1));
|
||||
#pragma clang diagnostic pop
|
||||
|
||||
void Tick() override;
|
||||
|
||||
@@ -45,7 +48,7 @@ namespace OpenVulkano
|
||||
[[nodiscard]] std::shared_ptr<AR::ArSession> GetArSession() const { return m_arSession; }
|
||||
|
||||
private:
|
||||
void Init();
|
||||
void CommonInit();
|
||||
|
||||
void UpdateCameraViewMatrix(const Math::Matrix4f& transform);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user