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

Go to the source code of this file.

Macros

#define FILTER_LEN   65
 
#define FILTER_CENTER   ((FILTER_LEN - 1) / 2)
 

Functions

static int idiv (int x, int m)
 
static int imod (int x, int m)
 
static double sinc (double v)
 

Macro Definition Documentation

#define FILTER_CENTER   ((FILTER_LEN - 1) / 2)
#define FILTER_LEN   65

Function Documentation

static int idiv ( int  x,
int  m 
)
inlinestatic

Definition at line 85 of file Heightmap.cpp.

static int imod ( int  x,
int  m 
)
inlinestatic

Definition at line 94 of file Heightmap.cpp.

static double sinc ( double  v)
inlinestatic

Definition at line 105 of file Heightmap.cpp.