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
Inheritance: extends Perlin
显示文件 Open project: ClearSkyTeam/ClearSky Class Usage Examples

Protected Properties

Property Type Description
$F2
$F3
$F4
$G2
$G22
$G3
$G4
$G42
$G43
$G44
$SQRT_3
$SQRT_5
$grad4
$offsetW
$simplex

Public Methods

Method Description
__construct ( Random $random, $octaves, $persistence, $expansion = 1 )
getNoise2D ( $x, $y )
getNoise3D ( $x, $y, $z )

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

public getNoise2D ( $x, $y )

getNoise3D() public method

public getNoise3D ( $x, $y, $z )

Property Details

$F2 protected_oe static_oe property

protected static $F2

$F3 protected_oe static_oe property

protected static $F3

$F4 protected_oe static_oe property

protected static $F4

$G2 protected_oe static_oe property

protected static $G2

$G22 protected_oe static_oe property

protected static $G22

$G3 protected_oe static_oe property

protected static $G3

$G4 protected_oe static_oe property

protected static $G4

$G42 protected_oe static_oe property

protected static $G42

$G43 protected_oe static_oe property

protected static $G43

$G44 protected_oe static_oe property

protected static $G44

$SQRT_3 protected_oe static_oe property

protected static $SQRT_3

$SQRT_5 protected_oe static_oe property

protected static $SQRT_5

$grad4 protected_oe static_oe property

protected static $grad4

$offsetW protected_oe property

protected $offsetW

$simplex protected_oe static_oe property

protected static $simplex