summaryrefslogtreecommitdiff
path: root/task04/Guschin/Figure.h
blob: cf2a63e7d71f780e88784dca8bb4d845c773f9da (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#pragma once
#include "Matrix.h"
#include <vector>

class path
{
public:
	std::vector<vec2> vertices;
	vec3 color;
	float thickness;

	path(std::vector<vec2> verts, vec3 col, float thickn)
	{
		vertices = verts;
		color = col;
		thickness = thickn;
	}
};

class model {
public:
	std::vector<path> figure;
	mat3 modelM;
	model(std::vector<path> fig, mat3 mat) {
		figure = fig; modelM = mat;
	}
};