src/linetypes/triangle.h

Wed, 25 May 2022 13:49:45 +0300

author
Teemu Piippo <teemu@hecknology.net>
date
Wed, 25 May 2022 13:49:45 +0300
changeset 190
3dbdc243f053
parent 183
97b591813c8b
permissions
-rw-r--r--

add missing file

#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(GetPolygonsContext*) override;
	Type typeIdentifier() const override;
	QString toLDrawCode() const override;
	QString iconName() const override;
	QString typeName() const override;
};

mercurial