src/layers/axeslayer.h

Thu, 15 Jun 2023 16:18:03 +0300

author
Teemu Piippo <teemu.s.piippo@gmail.com>
date
Thu, 15 Jun 2023 16:18:03 +0300
changeset 383
530d23cd4e97
parent 378
01537fbe096e
permissions
-rw-r--r--

Refactor, make selecting elements from the model select the corresponding line from the editor as well

#pragma once
#include "src/gl/common.h"
#include "src/gl/basicshaderprogram.h"

class AxesLayer final : public RenderLayer
{
	gl::basic_shader shader;
public:
	void initializeGL() override;
	void overpaint(QPainter* painter) override;
	void paintGL() override;
	void mvpMatrixChanged(const glm::mat4& mvpMatrix) override;
};

mercurial