From 9ac6d0e563ab6409fcb2a42d8ccff0dcf3008904 Mon Sep 17 00:00:00 2001 From: Andrew Guschin Date: Sat, 28 Nov 2020 19:13:38 +0400 Subject: =?UTF-8?q?=D0=94=D0=BE=D0=B1=D0=B0=D0=B2=D0=B8=D0=BB=20=D0=B7?= =?UTF-8?q?=D0=B0=D0=B3=D0=BE=D1=82=D0=BE=D0=B2=D0=BA=D1=83=206=20=D0=B7?= =?UTF-8?q?=D0=B0=D0=B4=D0=B0=D1=87=D0=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- task06/Guschin/Figure.h | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 task06/Guschin/Figure.h (limited to 'task06/Guschin/Figure.h') diff --git a/task06/Guschin/Figure.h b/task06/Guschin/Figure.h new file mode 100644 index 0000000..cf2a63e --- /dev/null +++ b/task06/Guschin/Figure.h @@ -0,0 +1,27 @@ +#pragma once +#include "Matrix.h" +#include + +class path +{ +public: + std::vector vertices; + vec3 color; + float thickness; + + path(std::vector verts, vec3 col, float thickn) + { + vertices = verts; + color = col; + thickness = thickn; + } +}; + +class model { +public: + std::vector figure; + mat3 modelM; + model(std::vector fig, mat3 mat) { + figure = fig; modelM = mat; + } +}; \ No newline at end of file -- cgit v1.2.3