summaryrefslogtreecommitdiff
path: root/task06/Guschin/Figure.h
diff options
context:
space:
mode:
Diffstat (limited to 'task06/Guschin/Figure.h')
-rw-r--r--task06/Guschin/Figure.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/task06/Guschin/Figure.h b/task06/Guschin/Figure.h
index cf2a63e..4f2400c 100644
--- a/task06/Guschin/Figure.h
+++ b/task06/Guschin/Figure.h
@@ -5,11 +5,11 @@
class path
{
public:
- std::vector<vec2> vertices;
+ std::vector<vec3> vertices;
vec3 color;
float thickness;
- path(std::vector<vec2> verts, vec3 col, float thickn)
+ path(std::vector<vec3> verts, vec3 col, float thickn)
{
vertices = verts;
color = col;
@@ -20,8 +20,8 @@ public:
class model {
public:
std::vector<path> figure;
- mat3 modelM;
- model(std::vector<path> fig, mat3 mat) {
+ mat4 modelM;
+ model(std::vector<path> fig, mat4 mat) {
figure = fig; modelM = mat;
}
}; \ No newline at end of file