src/linetypes/triangle.h

Wed, 17 Feb 2021 16:49:35 +0200

author
Teemu Piippo <teemu@hecknology.net>
date
Wed, 17 Feb 2021 16:49:35 +0200
changeset 102
9f435f66bd0c
parent 89
7abaf1d64719
child 132
488d0ba6070b
permissions
-rw-r--r--

stuff

#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