Sat, 24 Jul 2021 01:50:38 +0300
Move selection logic into select tool
#pragma once #include "basetool.h" class DrawTool : public BaseTool { Q_OBJECT public: Q_INVOKABLE DrawTool(QObject* parent = nullptr); QString name() const override; QString toolTip() const override; bool mouseClick(const Canvas::MouseClickInfo& info) override; void reset() override; private: std::vector<glm::vec3> polygon; };