diff options
Diffstat (limited to 'task03/Guschin/Figure.h')
| -rw-r--r-- | task03/Guschin/Figure.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/task03/Guschin/Figure.h b/task03/Guschin/Figure.h new file mode 100644 index 0000000..4a4b143 --- /dev/null +++ b/task03/Guschin/Figure.h @@ -0,0 +1,18 @@ +#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; + } +};
\ No newline at end of file |