diff -r a36913fc552a -r f21b800b02a4 src/gl/axesprogram.h --- a/src/gl/axesprogram.h Fri Mar 06 16:08:53 2020 +0200 +++ b/src/gl/axesprogram.h Fri Mar 06 20:13:10 2020 +0200 @@ -1,11 +1,18 @@ -#ifndef AXESPROGRAM_H -#define AXESPROGRAM_H +#pragma once +#include "gl/common.h" +#include "gl/basicshaderprogram.h" - -class AxesProgram +class AxesProgram : public AbstractBasicShaderProgram { + Q_OBJECT public: - AxesProgram(); + using AbstractBasicShaderProgram::AbstractBasicShaderProgram; +protected: + const char* vertexShaderSource() const override; + const char* fragmentShaderSource() const override; + const void* vertexData() const override; + GLenum drawMode() const override; + int vertexSize() const override; + int vertexCount() const override; + void setupVertexArrays() override; }; - -#endif // AXESPROGRAM_H \ No newline at end of file