couch/core/Vertex.h
2021-01-27 16:17:22 -06:00

23 lines
401 B
C++

#ifndef VERTEX_H
#define VERTEX_H
#include <vector>
#include "types.h"
struct Vertex {
Vertex();
Vertex(float x, float y, float z);
Vertex(float x, float y, float z, float u, float v);
Vertex(float x, float y, float z,
float nx, float ny, float nz,
float u, float v);
float x, y, z;
float nx, ny, nz;
float u, v;
};
typedef std::vector<Vertex> VertexList;
#endif /* VERTEX_H */