Skybox.h 335 B

123456789101112131415161718192021
  1. #pragma once
  2. #include <string>
  3. class Skybox
  4. {
  5. private:
  6. float size;
  7. std::string folder;
  8. float brightness;
  9. float targetBrightness;
  10. public:
  11. Skybox(const float &size, const std::string &folder);
  12. ~Skybox();
  13. void init();
  14. void draw();
  15. void update(float deltaTime, int, int);
  16. GLuint loadTexture(const std::string &fileName);
  17. };