implemented overlays and text, need depth configuration

This commit is contained in:
devZoGok
2021-10-18 19:05:04 +03:00
parent d1f2f9b152
commit 7a8a178a74
26 changed files with 544 additions and 73 deletions
+3
View File
@@ -10,6 +10,7 @@ namespace vb01{
class Model;
class Light;
class ParticleEmitter;
class Text;
class Node{
public:
@@ -20,6 +21,7 @@ namespace vb01{
virtual void update();
void attachChild(Node*);
void addLight(Light*);
void addText(Text*);
inline std::vector<Mesh*>& getMeshes(){return meshes;}
inline Node* getParent(){return parent;}
inline Vector3 getPosition(){return pos;}
@@ -34,6 +36,7 @@ namespace vb01{
std::vector<ParticleEmitter*> emitters;
std::vector<Node*> children,descendants;
std::vector<Light*> lights;
std::vector<Text*> texts;
Node *parent=nullptr;
};
}