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.

16 lines
488 B

5 years ago
  1. #pragma once
  2. #include "shader.h"
  3. #include "vertexbuffer.h"
  4. class SkyBox {
  5. Shader *mShader;
  6. VertexBuffer *mVertexBuffer;
  7. glm::mat4 mModelMatrix;
  8. public:
  9. void Init(const char *imageDir);
  10. void InitFront(const char *imageDir);
  11. void InitBack(const char *imageDir);
  12. void InitLeft(const char *imageDir);
  13. void InitRight(const char *imageDir);
  14. void InitTop(const char *imageDir);
  15. void InitBottom(const char *imageDir);
  16. void Draw(glm::mat4 &V, glm::mat4&P, float x, float y, float z);
  17. };