You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

17 lines
488 B

#pragma once
#include "shader.h"
#include "vertexbuffer.h"
class SkyBox {
Shader *mShader;
VertexBuffer *mVertexBuffer;
glm::mat4 mModelMatrix;
public:
void Init(const char *imageDir);
void InitFront(const char *imageDir);
void InitBack(const char *imageDir);
void InitLeft(const char *imageDir);
void InitRight(const char *imageDir);
void InitTop(const char *imageDir);
void InitBottom(const char *imageDir);
void Draw(glm::mat4 &V, glm::mat4&P, float x, float y, float z);
};