OpenGL ES SDK for Android ARM Developer Center
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
GroundMeshSetup.cpp File Reference
#include "GroundMesh.h"
#include "Platform.h"
#include <assert.h>

Go to the source code of this file.

Macros

#define LOCATION_VERTEX   0
 

Functions

static unsigned int block_index_count (unsigned int width, unsigned int height)
 
static GLushort * generate_block_indices (GLushort *pi, unsigned int vertex_buffer_offset, unsigned int width, unsigned int height)
 [Generating index buffer] More...
 

Macro Definition Documentation

#define LOCATION_VERTEX   0

Definition at line 419 of file GroundMeshSetup.cpp.

Function Documentation

static unsigned int block_index_count ( unsigned int  width,
unsigned int  height 
)
static

Definition at line 189 of file GroundMeshSetup.cpp.

static GLushort* generate_block_indices ( GLushort *  pi,
unsigned int  vertex_buffer_offset,
unsigned int  width,
unsigned int  height 
)
static

[Generating index buffer]

Definition at line 196 of file GroundMeshSetup.cpp.