src/linetypes/triangle.h

Mon, 19 Jul 2021 19:28:16 +0300

author
Teemu Piippo <teemu@hecknology.net>
date
Mon, 19 Jul 2021 19:28:16 +0300
changeset 104
cd4df75924b7
parent 89
7abaf1d64719
child 132
488d0ba6070b
permissions
-rw-r--r--

Add connections

#pragma once
#include "polygonobject.h"

namespace ldraw
{
	class Triangle;
}

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

mercurial