RigsofRods
Soft-body Physics Simulation
Namespaces | Macros
Hydrax

Nice looking water, originally a 3rd party component. More...

+ Collaboration diagram for Hydrax:

Namespaces

 Hydrax
 

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))
 

Detailed Description

Nice looking water, originally a 3rd party component.

Macro Definition Documentation

◆ max_octaves

#define max_octaves   32

Definition at line 58 of file Perlin.h.

◆ n_bits

#define n_bits   5

Definition at line 40 of file Perlin.h.

◆ n_dec_bits

#define n_dec_bits   12

Definition at line 54 of file Perlin.h.

◆ n_dec_magn

#define n_dec_magn   4096

Definition at line 55 of file Perlin.h.

◆ n_dec_magn_m1

#define n_dec_magn_m1   4095

Definition at line 56 of file Perlin.h.

◆ n_packsize

#define n_packsize   4

Definition at line 46 of file Perlin.h.

◆ n_size

#define n_size   (1<<(n_bits-1))

Definition at line 41 of file Perlin.h.

◆ n_size_m1

#define n_size_m1   (n_size - 1)

Definition at line 42 of file Perlin.h.

◆ n_size_sq

#define n_size_sq   (n_size*n_size)

Definition at line 43 of file Perlin.h.

◆ n_size_sq_m1

#define n_size_sq_m1   (n_size_sq - 1)

Definition at line 44 of file Perlin.h.

◆ noise_decimalbits

#define noise_decimalbits   15

Definition at line 63 of file Perlin.h.

◆ noise_frames

#define noise_frames   256

Definition at line 60 of file Perlin.h.

◆ noise_frames_m1

#define noise_frames_m1   (noise_frames-1)

Definition at line 61 of file Perlin.h.

◆ noise_magnitude

#define noise_magnitude   (1<<(noise_decimalbits-1))

Definition at line 64 of file Perlin.h.

◆ np_bits

#define np_bits   (n_bits+n_packsize-1)

Definition at line 48 of file Perlin.h.

◆ np_size

#define np_size   (1<<(np_bits-1))

Definition at line 49 of file Perlin.h.

◆ np_size_m1

#define np_size_m1   (np_size-1)

Definition at line 50 of file Perlin.h.

◆ np_size_sq

#define np_size_sq   (np_size*np_size)

Definition at line 51 of file Perlin.h.

◆ np_size_sq_m1

#define np_size_sq_m1   (np_size_sq-1)

Definition at line 52 of file Perlin.h.

◆ scale_decimalbits

#define scale_decimalbits   15

Definition at line 66 of file Perlin.h.

◆ scale_magnitude

#define scale_magnitude   (1<<(scale_decimalbits-1))

Definition at line 67 of file Perlin.h.