1 #pragma once 2 3 #include <GLES2/gl2.h> 4 5 class GlScene 6 { 7 public: 8 GlScene(); 9 10 GlScene(const GlScene& other) = delete; 11 GlScene& operator=(const GlScene& other) = delete; 12 13 void set_viewport(uint32_t width, uint32_t height); 14 15 void draw(uint32_t framenum); 16 17 private: 18 GLint m_modelviewmatrix, m_modelviewprojectionmatrix, m_normalmatrix; 19 20 uint32_t m_width; 21 uint32_t m_height; 22 }; 23