/* * Copyright (c) 2021, Jesse Buhagiar * * SPDX-License-Identifier: BSD-2-Clause */ #pragma once #include "GL/gl.h" #include #include namespace GL { struct GLColor { GLclampf r, g, b, a; }; struct GLVertex { FloatVector4 position; FloatVector4 color; FloatVector2 tex_coord; }; struct GLTriangle { GLVertex vertices[3]; }; struct GLEdge { GLfloat x1; GLfloat y1; GLfloat x2; GLfloat y2; }; }