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.

skybox.h 356B

1234567891011121314151617181920212223
  1. #pragma once
  2. #include <GL/glew.h>
  3. #include <GL/gl.h>
  4. #include "graphics/camera.h"
  5. #include "graphics/drawable.h"
  6. #include "graphics/rendertask.h"
  7. namespace vtk {
  8. class Skybox : public Drawable {
  9. public:
  10. Skybox();
  11. void draw(RenderTask& task);
  12. protected:
  13. GLuint mVbo;
  14. GLuint mVao;
  15. GLuint mShader;
  16. GLuint mViewMat;
  17. GLuint mProjMat;
  18. };
  19. }