aboutsummaryrefslogtreecommitdiff
#ifndef VERTEX_H
#define VERTEX_H

#include <GL/glew.h>
#include "math/vector2f.h"
#include "math/vector3f.h"

typedef struct
{
    GLfloat r, g, b, a;
} color_t;

typedef struct
{
    vec3_t position;
    color_t color;
    vec2_t texCoord;
    vec3_t normal;
} vertex_t;

#endif // VERTEX_H