src/linetypes/triangle.h

Wed, 25 May 2022 17:47:06 +0300

author
Teemu Piippo <teemu@hecknology.net>
date
Wed, 25 May 2022 17:47:06 +0300
changeset 194
be056e87c8ca
parent 183
97b591813c8b
permissions
-rw-r--r--

simplify further

#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