28 lines
636 B
C++
28 lines
636 B
C++
/*
|
|
* =====================================================================================
|
|
*
|
|
* 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 {
|
|
GLfloat coord3d[4] = {0, 0, 0, 1};
|
|
GLfloat color[4] = {0, 0, 0, 1};
|
|
GLfloat normal[3] = {0, 0, 0};
|
|
GLfloat texCoord[2] = {0, 0};
|
|
GLfloat lightValue[2] = {-1, -1};
|
|
};
|
|
|
|
#endif // VERTEX_HPP_
|