OpenGL ES SDK for Android ARM Developer Center
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Triangle.h File Reference
#include <GLES2/gl2.h>

Go to the source code of this file.

Macros

#define GLES_VERSION   2
 

Variables

const float triangleVertices []
 
const float triangleColors []
 

Macro Definition Documentation

#define GLES_VERSION   2

Definition at line 24 of file Triangle.h.

Variable Documentation

const float triangleColors[]
Initial value:
=
{
1.0, 0.0, 0.0, 1.0,
0.0, 1.0, 0.0, 1.0,
0.0, 1.0, 0.0, 1.0,
}

Definition at line 37 of file Triangle.h.

const float triangleVertices[]
Initial value:
=
{
0.0f, 0.5f, 0.0f,
-0.5f, -0.5f, 0.0f,
0.5f, -0.5f, 0.0f,
}

Definition at line 29 of file Triangle.h.