src/linetypes/triangle.h

Sat, 05 Mar 2022 17:18:44 +0200

author
Teemu Piippo <teemu@hecknology.net>
date
Sat, 05 Mar 2022 17:18:44 +0200
changeset 169
6da096930534
parent 158
5bd755eaa5a8
child 177
f69d53c053df
permissions
-rw-r--r--

Added the delete action

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

mercurial