src/linetypes/triangle.h

Mon, 16 May 2022 01:40:49 +0300

author
Teemu Piippo <teemu@hecknology.net>
date
Mon, 16 May 2022 01:40:49 +0300
changeset 187
30204975694a
parent 183
97b591813c8b
permissions
-rw-r--r--

work on circle tool

#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