Format tweak

This commit is contained in:
Ray 2021-10-03 13:51:53 +02:00
parent 9b3d74db6b
commit 369cb0a3c5

View File

@ -743,7 +743,7 @@ Image GenImagePerlinNoise(int width, int height, int offsetX, int offsetY, float
float p = (stb_perlin_fbm_noise3(nx, ny, 1.0f, 2.0f, 0.5f, 6) + 1.0f)/2.0f;
int intensity = (int)(p*255.0f);
pixels[y*width + x] = (Color){intensity, intensity, intensity, 255};
pixels[y*width + x] = (Color){ intensity, intensity, intensity, 255 };
}
}