19 lines
302 B
C++
19 lines
302 B
C++
#ifndef VERTEX_H
|
|
#define VERTEX_H
|
|
|
|
#include <vector>
|
|
|
|
#include "types.h"
|
|
|
|
struct Vertex {
|
|
Vertex();
|
|
Vertex(cfloat x, cfloat y, cfloat z);
|
|
Vertex(cfloat x, cfloat y, cfloat z, cfloat u, cfloat v);
|
|
cfloat x, y, z;
|
|
cfloat u, v;
|
|
};
|
|
|
|
typedef std::vector<Vertex> VertexList;
|
|
|
|
#endif /* VERTEX_H */
|