mirror of
https://github.com/raysan5/raylib.git
synced 2025-10-04 00:46:27 +00:00
REVIEWED: GenImageCellular() #2178
This commit is contained in:
@@ -786,7 +786,7 @@ Image GenImageCellular(int width, int height, int tileSize)
|
|||||||
{
|
{
|
||||||
int tileX = x/tileSize;
|
int tileX = x/tileSize;
|
||||||
|
|
||||||
float minDistance = (float)strtod("Inf", NULL);
|
float minDistance = 65536.0f; //(float)strtod("Inf", NULL);
|
||||||
|
|
||||||
// Check all adjacent tiles
|
// Check all adjacent tiles
|
||||||
for (int i = -1; i < 2; i++)
|
for (int i = -1; i < 2; i++)
|
||||||
|
Reference in New Issue
Block a user