瀏覽代碼

Format tweak

pull/2031/head
Ray 3 年之前
父節點
當前提交
369cb0a3c5
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. +1
    -1
      src/rtextures.c

+ 1
- 1
src/rtextures.c 查看文件

@ -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…
取消
儲存