21 lines
343 B
C++
21 lines
343 B
C++
#pragma once
|
|
|
|
namespace djalim {
|
|
class ShaderProgram;
|
|
}
|
|
|
|
#include "CubemapTexture.h"
|
|
#include "Camera.h"
|
|
|
|
class Skybox
|
|
{
|
|
public:
|
|
Skybox();
|
|
void load();
|
|
void draw(djalim::ShaderProgram* shader, Camera& camera, const glm::mat4& projection);
|
|
|
|
private:
|
|
unsigned int skyboxVAO, skyboxVBO;
|
|
CubemapTexture* cubemapTexture;
|
|
};
|