summaryrefslogtreecommitdiff
path: root/src/libs/din/din.h
blob: ec69e0ff89473917ba9a43857e46e614f61f96db (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#ifndef _DIN_H
#define _DIN_H

typedef struct din_t din_t;
typedef struct v3f_t v3f_t;

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(const din_t *din, const v3f_t *coordinate);

#endif
© All Rights Reserved