Add some convenience fucntions
This commit is contained in:
@ -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) {
|
||||
|
Reference in New Issue
Block a user