src/layers/axeslayer.h

Wed, 29 Jun 2022 16:33:49 +0300

author
Teemu Piippo <teemu.s.piippo@gmail.com>
date
Wed, 29 Jun 2022 16:33:49 +0300
changeset 309
d862721d19a3
parent 264
76a025db4948
child 378
01537fbe096e
permissions
-rw-r--r--

Fixed ModelId being used to identify both models and elements, added ElementId to identify elements

#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;
};

mercurial