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

Go to the source code of this file.

Functions

static bool trim_top_right_cond (const vec2 &offset)
 
static bool trim_top_left_cond (const vec2 &offset)
 
static bool trim_bottom_right_cond (const vec2 &offset)
 
static bool trim_bottom_left_cond (const vec2 &offset)
 
template<typename T >
static T * buffer_offset (T *buffer, size_t offset)
 
static unsigned int realign_offset (size_t offset, size_t align)
 

Function Documentation

template<typename T >
static T* buffer_offset ( T *  buffer,
size_t  offset 
)
inlinestatic

Definition at line 462 of file GroundMesh.cpp.

static unsigned int realign_offset ( size_t  offset,
size_t  align 
)
inlinestatic

Definition at line 468 of file GroundMesh.cpp.

static bool trim_bottom_left_cond ( const vec2 offset)
inlinestatic

Definition at line 345 of file GroundMesh.cpp.

static bool trim_bottom_right_cond ( const vec2 offset)
inlinestatic

Definition at line 340 of file GroundMesh.cpp.

static bool trim_top_left_cond ( const vec2 offset)
inlinestatic

Definition at line 335 of file GroundMesh.cpp.

static bool trim_top_right_cond ( const vec2 offset)
inlinestatic

Definition at line 330 of file GroundMesh.cpp.