1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 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; } };