summaryrefslogtreecommitdiff
path: root/task06/Guschin
diff options
context:
space:
mode:
authorAndrew Guschin <saintruler@gmail.com>2020-11-28 20:55:47 +0400
committerAndrew Guschin <saintruler@gmail.com>2020-11-28 20:55:47 +0400
commit064022b153daf8bb9b47036037eebec92cc57ec7 (patch)
tree1802c8d279f0413166eb1eabcdbcbbf0684ee95f /task06/Guschin
parenta1763c51eb57525674b885209755e46a3e8b9310 (diff)
Поправил Figure.h
Diffstat (limited to 'task06/Guschin')
-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