Add some convenience fucntions

This commit is contained in:
Tim
2023-06-05 02:23:40 +02:00
parent 5e522ea417
commit cccd74f1a5
3 changed files with 22 additions and 12 deletions

View File

@ -148,7 +148,6 @@ class PerlinNoise
return $value;
}
//Same as random1D() only for 2 dimensions.
function random2D(float $x, float $y, ?int $size = NULL): float
{
if ($size === NULL) {