浏览代码

Merge branch 'master' of https://github.com/fluffrabbit/stb into work2

Sean Barrett 5 年之前
父节点
当前提交
647906759c
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      stb_perlin.h

+ 1 - 0
stb_perlin.h

@@ -78,6 +78,7 @@
 extern "C" {
 #endif
 extern float stb_perlin_noise3(float x, float y, float z, int x_wrap, int y_wrap, int z_wrap);
+extern float stb_perlin_noise3_seed(float x, float y, float z, int x_wrap, int y_wrap, int z_wrap, int seed);
 extern float stb_perlin_ridge_noise3(float x, float y, float z, float lacunarity, float gain, float offset, int octaves);
 extern float stb_perlin_fbm_noise3(float x, float y, float z, float lacunarity, float gain, int octaves);
 extern float stb_perlin_turbulence_noise3(float x, float y, float z, float lacunarity, float gain, int octaves);