couch/core/Vertex.h

23 lines
401 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(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;
2021-01-13 10:42:57 -06:00
};
typedef std::vector<Vertex> VertexList;
2021-01-12 14:09:38 -06:00
#endif /* VERTEX_H */