src/linetypes/triangle.h

Sat, 05 Mar 2022 13:19:59 +0200

author
Teemu Piippo <teemu@hecknology.net>
date
Sat, 05 Mar 2022 13:19:59 +0200
changeset 162
3ebe1a0ca818
parent 158
5bd755eaa5a8
child 177
f69d53c053df
permissions
-rw-r--r--

only render svg to png if the png does not exist

#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