src/linetypes/triangle.h

Wed, 25 May 2022 18:33:38 +0300

author
Teemu Piippo <teemu@hecknology.net>
date
Wed, 25 May 2022 18:33:38 +0300
changeset 198
eb9d900dc79a
parent 183
97b591813c8b
permissions
-rw-r--r--

fix up things and remove unnecessary code

#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