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

Go to the source code of this file.

Functions

float clamp (float x, float min, float max)
 
float max (float x, float y)
 
float min (float x, float y)
 
unsigned int xor128 ()
 
float frand ()
 

Function Documentation

float clamp ( float  x,
float  min,
float  max 
)

Definition at line 24 of file noise.cpp.

float frand ( )

Definition at line 53 of file noise.cpp.

float max ( float  x,
float  y 
)

Definition at line 29 of file noise.cpp.

float min ( float  x,
float  y 
)

Definition at line 34 of file noise.cpp.

unsigned int xor128 ( )

Definition at line 40 of file noise.cpp.