Mon, 20 Jun 2022 22:40:31 +0300
Make the grid black on bright backgrounds
#pragma once #include "gl/common.h" #include "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; };