libhydride/include/vertex_structs.h
nullifiedcat e4428be844 opengl
2017-11-11 11:20:02 +03:00

26 lines
333 B
C

/*
* vertex_structs.h
*
* Created on: Nov 10, 2017
* Author: nullifiedcat
*/
#pragma once
/* Used for drawing primitives */
struct vertex_v2fc4f
{
vec2 pos;
vec4 color;
};
/* Used for drawing textured primitives and freetype-gl fonts */
struct vertex_v2ft2fc4f
{
vec2 pos;
vec2 uv;
vec4 color;
};