src/layers/axeslayer.h

Sat, 02 Jul 2022 19:05:05 +0300

author
Teemu Piippo <teemu.s.piippo@gmail.com>
date
Sat, 02 Jul 2022 19:05:05 +0300
changeset 316
aab8e139a149
parent 264
76a025db4948
child 378
01537fbe096e
permissions
-rw-r--r--

Allow make a cylinder even if the world position is not on grid

#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