mostly implemented skybox and fixed box verts

This commit is contained in:
devZoGok
2021-10-18 19:04:20 +03:00
parent fd09cbf762
commit 03f65e62f5
22 changed files with 227 additions and 106 deletions
+5
View File
@@ -3,6 +3,7 @@
#include"node.h"
#include"camera.h"
#include<string>
class GLFWwindow;
@@ -10,6 +11,8 @@ namespace vb01{
void foo();
class Mesh;
class Box;
class Shader;
class Root{
public:
@@ -20,8 +23,10 @@ namespace vb01{
inline Node* getRootNode(){return rootNode;}
inline int getWidth(){return width;}
inline int getHeight(){return height;}
void createSkybox(std::string[6]);
static Root* getSingleton();
private:
Box *skybox=nullptr;
bool running=false;
int width,height;
GLFWwindow *window;