OpenMiner/include/gl/Vertex.hpp

28 lines
638 B
C++
Raw Normal View History

/*
* =====================================================================================
*
* Filename: Vertex.hpp
*
* Description:
*
* Created: 19/06/2018 23:37:18
*
* Author: Quentin Bazin, <quent42340@gmail.com>
*
* =====================================================================================
*/
#ifndef VERTEX_HPP_
#define VERTEX_HPP_
#include "OpenGL.hpp"
struct Vertex {
2018-06-25 00:05:21 +02:00
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};
2018-06-25 00:05:21 +02:00
GLfloat lightValue[2] = {-1, -1};
};
#endif // VERTEX_HPP_