Wed, 25 May 2022 12:01:58 +0300
cleanup, gl::Compiler changed to gl::ModelShaders
186 | 1 | #pragma once |
2 | #include "drawtool.h" | |
3 | ||
4 | class CircleTool : public AbstractDrawTool | |
5 | { | |
6 | Q_OBJECT | |
7 | public: | |
8 | Q_INVOKABLE CircleTool(Document* document); | |
9 | QString name() const override; | |
10 | QString toolTip() const override; | |
11 | void overpaint(Canvas *canvas, QPainter *painter) const override; | |
12 | QString iconName() const override; | |
188
64ea7282611e
more work on circle tool + cleanup
Teemu Piippo <teemu@hecknology.net>
parents:
186
diff
changeset
|
13 | void addPoint(const glm::vec3& pos) override; |
186 | 14 | void closeShape() override; |
188
64ea7282611e
more work on circle tool + cleanup
Teemu Piippo <teemu@hecknology.net>
parents:
186
diff
changeset
|
15 | void reset() override; |
64ea7282611e
more work on circle tool + cleanup
Teemu Piippo <teemu@hecknology.net>
parents:
186
diff
changeset
|
16 | private: |
64ea7282611e
more work on circle tool + cleanup
Teemu Piippo <teemu@hecknology.net>
parents:
186
diff
changeset
|
17 | glm::mat4 baseGridMatrix; |
186 | 18 | }; |