Add ktx
This commit is contained in:
@@ -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
|
||||
};
|
||||
Reference in New Issue
Block a user