Tue, 14 Jun 2022 20:44:07 +0300
Further reduce settings.h
70 | 1 | #pragma once |
2 | #include "gl/common.h" | |
3 | #include "gl/basicshaderprogram.h" | |
69 | 4 | |
215
34c6e7bc4ee1
Reimplement the axes program as a layer that can be added to PartRenderer
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
118
diff
changeset
|
5 | class AxesLayer final : public RenderLayer |
69 | 6 | { |
215
34c6e7bc4ee1
Reimplement the axes program as a layer that can be added to PartRenderer
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
118
diff
changeset
|
7 | BasicShader shader; |
69 | 8 | public: |
215
34c6e7bc4ee1
Reimplement the axes program as a layer that can be added to PartRenderer
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
118
diff
changeset
|
9 | void initializeGL() override; |
34c6e7bc4ee1
Reimplement the axes program as a layer that can be added to PartRenderer
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
118
diff
changeset
|
10 | void paintGL() override; |
34c6e7bc4ee1
Reimplement the axes program as a layer that can be added to PartRenderer
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
118
diff
changeset
|
11 | void mvpMatrixChanged(const glm::mat4& mvpMatrix) override; |
69 | 12 | }; |