src/linetypes/triangle.h

Wed, 22 Sep 2021 14:03:43 +0300

author
Teemu Piippo <teemu@hecknology.net>
date
Wed, 22 Sep 2021 14:03:43 +0300
changeset 139
72098474d362
parent 132
488d0ba6070b
child 141
185eb297dc1e
permissions
-rw-r--r--

Document and refactor colors.cpp and colors.h

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

mercurial