1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
#ifndef VERTEX_H #define VERTEX_H #include <GL/glew.h> #include "math/vector2f.h" #include "math/vector3f.h" #include "math/vector4f.h" typedef struct { vec3_t position; vec2_t texCoord; vec3_t normal; vec3_t tangent; } vertex_t; #endif // VERTEX_H