PHP Class pocketmine\level\generator\noise\Simplex
This is a modified version of the freely published version in the paper by
Stefan Gustavson at
http://staffwww.itn.liu.se/~stegu/simplexnoise/simplexnoise.pdf
Mostrar archivo
Open project: ClearSkyTeam/ClearSky
Class Usage Examples
Protected Properties
Public Methods
Protected Methods
Method |
Description |
|
dot2D ( $g, $x, $y ) |
|
|
dot3D ( $g, $x, $y, $z ) |
|
|
dot4D ( $g, $x, $y, $z, $w ) |
|
|
Method Details
__construct()
public method
public __construct ( Random $random, $octaves, $persistence, $expansion = 1 ) |
$random |
pocketmine\utils\Random |
|
dot2D()
protected static method
protected static dot2D ( $g, $x, $y ) |
dot3D()
protected static method
protected static dot3D ( $g, $x, $y, $z ) |
dot4D()
protected static method
protected static dot4D ( $g, $x, $y, $z, $w ) |
getNoise2D()
public method
getNoise3D()
public method
Property Details
$F2 protected_oe static_oe property
$F3 protected_oe static_oe property
$F4 protected_oe static_oe property
$G2 protected_oe static_oe property
$G22 protected_oe static_oe property
$G3 protected_oe static_oe property
$G4 protected_oe static_oe property
$G42 protected_oe static_oe property
$G43 protected_oe static_oe property
$G44 protected_oe static_oe property
$SQRT_3 protected_oe static_oe property
$SQRT_5 protected_oe static_oe property
$grad4 protected_oe static_oe property
$offsetW protected_oe property
$simplex protected_oe static_oe property
protected static $simplex |