From 0408d33694635cdc28db23c9c6388bd916626bde Mon Sep 17 00:00:00 2001 From: Andrew Guschin Date: Mon, 9 Nov 2020 23:28:49 +0300 Subject: =?UTF-8?q?=D0=94=D0=BE=D0=B1=D0=B0=D0=B2=D0=B8=D0=BB=20=D0=BF?= =?UTF-8?q?=D0=B5=D1=80=D0=B2=D1=8B=D0=B5=204=20=D0=B7=D0=B0=D0=B4=D0=B0?= =?UTF-8?q?=D0=BD=D0=B8=D1=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- task04/Guschin/Figure.h | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 task04/Guschin/Figure.h (limited to 'task04/Guschin/Figure.h') diff --git a/task04/Guschin/Figure.h b/task04/Guschin/Figure.h new file mode 100644 index 0000000..cf2a63e --- /dev/null +++ b/task04/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