RigsofRods
Soft-body Physics Simulation
Data Structures | Namespaces | Macros
Perlin.h File Reference
#include "Noise.h"
+ Include dependency graph for Perlin.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

class  Hydrax::Noise::Perlin
 Perlin noise module class. More...
 
struct  Hydrax::Noise::Perlin::Options
 Struct wich contains Perlin noise module options. More...
 

Namespaces

 Hydrax
 
 Hydrax::Noise
 

Macros

#define n_bits   5
 
#define n_size   (1<<(n_bits-1))
 
#define n_size_m1   (n_size - 1)
 
#define n_size_sq   (n_size*n_size)
 
#define n_size_sq_m1   (n_size_sq - 1)
 
#define n_packsize   4
 
#define np_bits   (n_bits+n_packsize-1)
 
#define np_size   (1<<(np_bits-1))
 
#define np_size_m1   (np_size-1)
 
#define np_size_sq   (np_size*np_size)
 
#define np_size_sq_m1   (np_size_sq-1)
 
#define n_dec_bits   12
 
#define n_dec_magn   4096
 
#define n_dec_magn_m1   4095
 
#define max_octaves   32
 
#define noise_frames   256
 
#define noise_frames_m1   (noise_frames-1)
 
#define noise_decimalbits   15
 
#define noise_magnitude   (1<<(noise_decimalbits-1))
 
#define scale_decimalbits   15
 
#define scale_magnitude   (1<<(scale_decimalbits-1))