Sun, 03 Jul 2022 13:44:11 +0300
Extract the triangulation and triangle merging code into a new source file and clean it up somewhat
#pragma once #include "src/gl/common.h" #include "src/gl/basicshaderprogram.h" class AxesLayer final : public RenderLayer { BasicShader shader; public: void initializeGL() override; void overpaint(QPainter* painter) override; void paintGL() override; void mvpMatrixChanged(const glm::mat4& mvpMatrix) override; };