6 #ifndef LG_PERLIN_NOISE_H
7 #define LG_PERLIN_NOISE_H
19 typedef float FNLfloat;
25 FNL_NOISE_OPENSIMPLEX2,
26 FNL_NOISE_OPENSIMPLEX2S,
29 FNL_NOISE_VALUE_CUBIC,
36 FNL_ROTATION_IMPROVE_XY_PLANES,
37 FNL_ROTATION_IMPROVE_XZ_PLANES
38 } fnl_rotation_type_3d;
46 FNL_FRACTAL_DOMAIN_WARP_PROGRESSIVE,
47 FNL_FRACTAL_DOMAIN_WARP_INDEPENDENT
52 FNL_CELLULAR_DISTANCE_EUCLIDEAN,
53 FNL_CELLULAR_DISTANCE_EUCLIDEANSQ,
54 FNL_CELLULAR_DISTANCE_MANHATTAN,
55 FNL_CELLULAR_DISTANCE_HYBRID
56 } fnl_cellular_distance_func;
60 FNL_CELLULAR_RETURN_TYPE_CELLVALUE,
61 FNL_CELLULAR_RETURN_TYPE_DISTANCE,
62 FNL_CELLULAR_RETURN_TYPE_DISTANCE2,
63 FNL_CELLULAR_RETURN_TYPE_DISTANCE2ADD,
64 FNL_CELLULAR_RETURN_TYPE_DISTANCE2SUB,
65 FNL_CELLULAR_RETURN_TYPE_DISTANCE2MUL,
66 FNL_CELLULAR_RETURN_TYPE_DISTANCE2DIV,
67 } fnl_cellular_return_type;
71 FNL_DOMAIN_WARP_OPENSIMPLEX2,
72 FNL_DOMAIN_WARP_OPENSIMPLEX2_REDUCED,
73 FNL_DOMAIN_WARP_BASICGRID
74 } fnl_domain_warp_type;