blob: 4f2400c43823e6233dd78bb5bd545e8ebdca2139 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
#pragma once
#include "Matrix.h"
#include <vector>
class path
{
public:
std::vector<vec3> vertices;
vec3 color;
float thickness;
path(std::vector<vec3> verts, vec3 col, float thickn)
{
vertices = verts;
color = col;
thickness = thickn;
}
};
class model {
public:
std::vector<path> figure;
mat4 modelM;
model(std::vector<path> fig, mat4 mat) {
figure = fig; modelM = mat;
}
};
|