Remove ICloseable
This commit is contained in:
@@ -6,7 +6,6 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "Base/ICloseable.hpp"
|
||||
#include "Scene/IRayIntersectable.hpp"
|
||||
#include "DrawEncoder.hpp"
|
||||
#include <memory>
|
||||
@@ -27,7 +26,7 @@ namespace OpenVulkano::Scene
|
||||
BACKGROUND = 0, MAIN, TRANSPARENT, POST
|
||||
};
|
||||
|
||||
class Drawable : public ICloseable, public IRayIntersectable
|
||||
class Drawable : public IRayIntersectable
|
||||
{
|
||||
std::vector<Node*> m_nodes;
|
||||
Scene* m_scene = nullptr;
|
||||
@@ -43,7 +42,7 @@ namespace OpenVulkano::Scene
|
||||
|
||||
~Drawable() override {/* if (m_scene) Drawable::Close();*/ }
|
||||
|
||||
void Close() override;
|
||||
virtual void Close();
|
||||
|
||||
void SetShader(Shader* shader) { m_shader = shader; }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user