This commit is contained in:
2026-06-14 19:09:18 +01:00
parent 14bd1a9271
commit 13fa90a0e9
3958 changed files with 999286 additions and 4 deletions
+34
View File
@@ -0,0 +1,34 @@
/* -*- tab-width: 4; -*- */
/* vi: set et sw=2 ts=4 expandtab: */
/*
* Copyright 2016-2020 Mark Callow
* SPDX-License-Identifier: Apache-2.0
*/
/*
* Quad definition
*/
static const GLfloat quad_position[] =
{
1.0f, -1.0f, 0,
1.0f, 1.0f, 0,
-1.0f, -1.0f, 0,
-1.0f, 1.0f, 0
};
static const GLfloat quad_color[] =
{
0.7f, 0.1f, 0.2f,
0.8f, 0.9f, 0.3f,
0.4f, 1.0f, 0.5f,
0.0f, 0.6f, 0.1f
};
static GLfloat quad_texture[] =
{
1.0f, 0.0f,
1.0f, 1.0f,
0.0f, 0.0f,
0.0f, 1.0f
};