summaryrefslogtreecommitdiff
path: root/src/modules/flow/ff.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/flow/ff.h')
-rw-r--r--src/modules/flow/ff.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/modules/flow/ff.h b/src/modules/flow/ff.h
new file mode 100644
index 0000000..4d30143
--- /dev/null
+++ b/src/modules/flow/ff.h
@@ -0,0 +1,13 @@
+#ifndef _FF_H
+#define _FF_H
+
+#include "v3f.h"
+
+typedef struct ff_t ff_t;
+
+ff_t * ff_new(unsigned size, void (*populator)(void *context, unsigned size, const v3f_t *other, v3f_t *field), void *context);
+void ff_free(ff_t *ff);
+v3f_t ff_get(ff_t *ff, v3f_t *coordinate, float w);
+void ff_populate(ff_t *ff, unsigned idx);
+
+#endif
© All Rights Reserved