Fixed init of Group (actually should NOT init its children nodes).

Ensure Nodes deletetion is done.
This commit is contained in:
brunoherbelin
2020-04-13 11:48:06 +02:00
parent df6e2bbe63
commit 57fc66c546
8 changed files with 50 additions and 30 deletions

1
Mesh.h
View File

@@ -22,6 +22,7 @@ public:
void init () override;
void draw (glm::mat4 modelview, glm::mat4 projection) override;
void accept (Visitor& v) override;
// void update (float dt) override;
inline std::string getResource() const { return resource_; }
inline std::string getTexture() const { return texturefilename_; }