pocketmine\level\generator\noise\Simplex::dot2D PHP Method

dot2D() protected static method

protected static dot2D ( $g, $x, $y )
    protected static function dot2D($g, $x, $y)
    {
        return $g[0] * $x + $g[1] * $y;
    }