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

dot3D() protected static method

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