mirror of
https://github.com/ApfelTeeSaft/vb01.git
synced 2026-08-26 19:33:45 +00:00
mostly implemented skybox and fixed box verts
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user