src/linetypes/edge.h

Tue, 27 Jul 2021 16:29:00 +0300

author
Teemu Piippo <teemu@hecknology.net>
date
Tue, 27 Jul 2021 16:29:00 +0300
changeset 118
8e1c9f18ae15
parent 89
7abaf1d64719
child 132
488d0ba6070b
permissions
-rw-r--r--

Add vertex rendering

#pragma once
#include "polygonobject.h"

namespace ldraw
{
	class Edge;
}

class ldraw::Edge : public PolygonObject<2>
{
public:
	using PolygonObject::PolygonObject;
	QString textRepresentation() const override;
	void getPolygons(std::vector<gl::Polygon>& polygons, GetPolygonsContext* context) const override;
};

mercurial