Sat, 07 Mar 2020 01:20:36 +0200
negative axes are now drawn in darker color
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 | }; |