src/linetypes/triangle.h

Sun, 25 Jul 2021 20:29:14 +0300

author
Teemu Piippo <teemu@hecknology.net>
date
Sun, 25 Jul 2021 20:29:14 +0300
changeset 111
1f42c03fafca
parent 89
7abaf1d64719
child 132
488d0ba6070b
permissions
-rw-r--r--

Draw tool actually adds objects now

#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;
};

mercurial