Skip to content
Snippets Groups Projects
triangle.h 202 B
#pragma once
#include "point.h"

// points specified clockwise
struct Triangle {
	Point p1, p2, p3;
	int depth;
	bool neighbours(Triangle &other);
	Triangle(Point p1, Point p2, Point p3, int depth);
};