Mon, 24 Aug 2020 22:51:01 +0300
remove dependency on glut, fixes
70 | 1 | #pragma once |
2 | #include "gl/common.h" | |
3 | #include "gl/basicshaderprogram.h" | |
69 | 4 | |
70 | 5 | class AxesProgram : public AbstractBasicShaderProgram |
69 | 6 | { |
70 | 7 | Q_OBJECT |
69 | 8 | public: |
70 | 9 | using AbstractBasicShaderProgram::AbstractBasicShaderProgram; |
10 | protected: | |
11 | const char* vertexShaderSource() const override; | |
12 | const char* fragmentShaderSource() const override; | |
13 | const void* vertexData() const override; | |
14 | GLenum drawMode() const override; | |
15 | int vertexSize() const override; | |
16 | int vertexCount() const override; | |
17 | void setupVertexArrays() override; | |
69 | 18 | }; |