diff options
Diffstat (limited to 'task06/Guschin/Figure.h')
| -rw-r--r-- | task06/Guschin/Figure.h | 27 |
1 files changed, 27 insertions, 0 deletions
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 <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; + } +};
\ No newline at end of file |