Browse Source

Format tweak

pull/2031/head
Ray 3 years ago
parent
commit
369cb0a3c5
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/rtextures.c

+ 1
- 1
src/rtextures.c 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 };
}
}

Loading…
Cancel
Save