/* * ===================================================================================== * * Filename: Vertex.hpp * * Description: * * Created: 19/06/2018 23:37:18 * * Author: Quentin Bazin, * * ===================================================================================== */ #ifndef VERTEX_HPP_ #define VERTEX_HPP_ #include "OpenGL.hpp" struct Vertex { GLfloat coord3d[4] = {0, 0, 0, 1}; GLfloat color[4] = {0, 0, 0, 1}; GLfloat normal[3] = {0, 0, 0}; GLfloat texCoord[2] = {-1, -1}; GLfloat lightValue[2] = {-1, -1}; GLfloat blockType = -1; }; #endif // VERTEX_HPP_