OpenGL ES SDK for Android ARM Developer Center
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
mesh.cpp File Reference
#include "common.hpp"
#include "vector_math.h"
#include "mesh.hpp"
#include <limits.h>
#include <vector>
#include <stdexcept>
#include <algorithm>

Go to the source code of this file.


static void generate_block_indices (vector< GLushort > &ibo, int vertex_buffer_offset, int width, int height, int stride)
static float lod_factor (float max_lod, float distance_mod, vec3 dist)

Function Documentation

static void generate_block_indices ( vector< GLushort > &  ibo,
int  vertex_buffer_offset,
int  width,
int  height,
int  stride 

Definition at line 103 of file mesh.cpp.

static float lod_factor ( float  max_lod,
float  distance_mod,
vec3  dist 

Definition at line 152 of file mesh.cpp.