|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.threerings.util.NoiseUtil
public class NoiseUtil
Methods for generating Perlin noise. The algorithm used is that described in Ken Perlin's Improving Noise.
| Constructor Summary | |
|---|---|
NoiseUtil()
|
|
| Method Summary | |
|---|---|
static float |
getNoise(float x)
Returns the noise value at the specified coordinate. |
static float |
getNoise(float x,
float y)
Returns the noise value at the specified coordinates. |
static float |
getNoise(float x,
float y,
float z)
Returns the noise value at the specified coordinates. |
static float |
getNoise(float x,
float y,
int z)
Returns the noise value at the specified coordinates. |
static float |
getNoise(float x,
int y)
Returns the noise value at the specified coordinates. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public NoiseUtil()
| Method Detail |
|---|
public static float getNoise(float x)
public static float getNoise(float x,
int y)
public static float getNoise(float x,
float y)
public static float getNoise(float x,
float y,
int z)
public static float getNoise(float x,
float y,
float z)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||