Perlin Noise Terrain Generator
A Program to Generate Terrain from Perlin Noise with Exponentially Distributed Gradient Magnitude
 All Files Functions Variables Macros Pages
perlin.h
Go to the documentation of this file.
1 
2 
3 
4 // Copyright Ian Parberry, May 2014.
5 //
6 // This file is made available under the GNU All-Permissive License.
7 //
8 // Copying and distribution of this file, with or without modification,
9 // are permitted in any medium without royalty provided the copyright
10 // notice and this notice are preserved. This file is offered as-is,
11 // without any warranty.
12 
13 // Created by Ian Parberry, May 2014.
14 // Last updated May 28, 2014.
15 
16 #pragma once
17 
18 void initPerlin2D();
19 float PerlinNoise2D(const float, const float, const int);