summaryrefslogtreecommitdiff
path: root/src/libs/din/din.h
diff options
context:
space:
mode:
authorVito Caputo <vcaputo@pengaru.com>2022-07-20 17:46:43 -0700
committerVito Caputo <vcaputo@pengaru.com>2022-07-20 17:50:42 -0700
commit1e461f6cc82cb8c30027b120a8b07693fb32edfd (patch)
tree36de8cbedca33a1171f7993c18836cf84446523f /src/libs/din/din.h
parentc0881f0be992c43f85e794bd160fddb4ffb6d951 (diff)
libs/din: pass seed to din_new()
also update call sites in modules/{meta2d,swab} accordingly
Diffstat (limited to 'src/libs/din/din.h')
-rw-r--r--src/libs/din/din.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libs/din/din.h b/src/libs/din/din.h
index baa3ebb..97823b6 100644
--- a/src/libs/din/din.h
+++ b/src/libs/din/din.h
@@ -4,7 +4,7 @@
typedef struct din_t din_t;
typedef struct v3f_t v3f_t;
-din_t * din_new(int width, int height, int depth);
+din_t * din_new(int width, int height, int depth, unsigned seed);
void din_free(din_t *din);
void din_randomize(din_t *din);
float din(din_t *din, v3f_t *coordinate);
© All Rights Reserved