Skip to content
Snippets Groups Projects
Commit 380c8556 authored by HASPEKIAN Yvan's avatar HASPEKIAN Yvan
Browse files

Skybox and always put a virtual destructor on base class

parent b3336636
No related merge requests found
ParticleGenerator/res/textures/skybox/snow/back.png

90.5 KiB

ParticleGenerator/res/textures/skybox/snow/bottom.png

260 KiB

ParticleGenerator/res/textures/skybox/snow/front.png

117 KiB

ParticleGenerator/res/textures/skybox/snow/left.png

127 KiB

ParticleGenerator/res/textures/skybox/snow/right.png

115 KiB

ParticleGenerator/res/textures/skybox/snow/top.png

21.2 KiB

......@@ -59,12 +59,12 @@ namespace pg::scene
if(this->_skybox.material().isValid()) {
this->_skybox.load(
{
"res/textures/skybox/default/right.png",
"res/textures/skybox/default/left.png",
"res/textures/skybox/default/top.png",
"res/textures/skybox/default/bottom.png",
"res/textures/skybox/default/front.png",
"res/textures/skybox/default/back.png",
"res/textures/skybox/snow/right.png",
"res/textures/skybox/snow/left.png",
"res/textures/skybox/snow/top.png",
"res/textures/skybox/snow/bottom.png",
"res/textures/skybox/snow/front.png",
"res/textures/skybox/snow/back.png",
},
Texture::RGBA,
false
......
......@@ -30,6 +30,9 @@ namespace pg::scene {
public:
MeshGenerator();
/*virtual ~MeshGenerator() {
};*/
virtual void initialize();
virtual void update(double);
......
......@@ -15,5 +15,7 @@ namespace pg {
virtual std::string name() const = 0;
virtual Interface * interface() = 0;
virtual ~Scene() = default;
};
}
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment