Utilities
Class NoiseType

java.lang.Object
  extended by Utilities.NoiseType
Direct Known Subclasses:
BillowyPerlin3D, Perlin1D, Perlin2D, Perlin3D, RidgedPerlin3D, SimplexNoise3D, SineWave

public class NoiseType
extends java.lang.Object

Author:
David Burnett

Constructor Summary
NoiseType()
          Creates a new instance of NoiseType
 
Method Summary
 double getSlice()
          used in 2D 'terrains' to get the 3rd co ordinate for 3D noise
 void InitNoise(long seed)
          A function to allow you to do any initalization
 double Noise(double x, double y, double z)
          returns a 'pseudo' random value a point in 3D space works best if returns the same value for the same point
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NoiseType

public NoiseType()
Creates a new instance of NoiseType

Method Detail

InitNoise

public void InitNoise(long seed)
A function to allow you to do any initalization


Noise

public double Noise(double x,
                    double y,
                    double z)
returns a 'pseudo' random value a point in 3D space works best if returns the same value for the same point


getSlice

public double getSlice()
used in 2D 'terrains' to get the 3rd co ordinate for 3D noise