GlobeEngine
ShadowMapNode.h
Go to the documentation of this file.
1 
8 #ifndef GlobeEngine_ShadowMapNode_h
9 #define GlobeEngine_ShadowMapNode_h
10 
11 #include "OpenGL_Includes.h"
12 #include "Texture.h"
13 #include <vector>
14 
15 
16 namespace ge {
18  {
19  public:
22  void clear();
23  void destroy();
24  void create(int _size, int _pos_x = 0,int _pos_y = 0);
25  void generateChilds();
26 
27  private:
28  std::vector<ShadowMapNode> childs;
29  int pixPerSide;
30  int pos_x;
31  int pos_y;
32 
33  };
34 }
35 #endif
Definition: ShadowMapNode.h:17
void create(int _size, int _pos_x=0, int _pos_y=0)
Definition: ShadowMapNode.cpp:21
void destroy()
Definition: ShadowMapNode.cpp:17
~ShadowMapNode()
Definition: ShadowMapNode.h:21
ShadowMapNode()
Definition: ShadowMapNode.h:20
void clear()
Definition: ShadowMapNode.cpp:10
Definition: AvalancheTrainingSimulationEngine.h:28
void generateChilds()
Definition: ShadowMapNode.cpp:30