src/layers/axeslayer.h

Sun, 03 Jul 2022 13:44:11 +0300

author
Teemu Piippo <teemu.s.piippo@gmail.com>
date
Sun, 03 Jul 2022 13:44:11 +0300
changeset 319
9727e545b0bc
parent 264
76a025db4948
child 378
01537fbe096e
permissions
-rw-r--r--

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

mercurial