couch/core/Vertex.h

19 lines
302 B
C
Raw Normal View History

2021-01-12 14:09:38 -06:00
#ifndef VERTEX_H
#define VERTEX_H
2021-01-13 10:42:57 -06:00
#include <vector>
2021-01-12 14:09:38 -06:00
#include "types.h"
struct Vertex {
2021-01-13 10:42:57 -06:00
Vertex();
Vertex(cfloat x, cfloat y, cfloat z);
Vertex(cfloat x, cfloat y, cfloat z, cfloat u, cfloat v);
2021-01-12 14:09:38 -06:00
cfloat x, y, z;
cfloat u, v;
2021-01-13 10:42:57 -06:00
};
typedef std::vector<Vertex> VertexList;
2021-01-12 14:09:38 -06:00
#endif /* VERTEX_H */