summaryrefslogtreecommitdiffstats
path: root/generate.h
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2015-10-03 19:46:11 -0400
committerTavian Barnes <tavianator@tavianator.com>2015-10-04 13:23:17 -0400
commitc6ae17f774721875a2833b1138bad9f516a72003 (patch)
tree258f1902791f50ab9b6fb83325411bd876d08713 /generate.h
parent328b647f8afc26af5ffaea124161682484f0c85e (diff)
downloadkd-forest-c6ae17f774721875a2833b1138bad9f516a72003.tar.xz
Add support for Morton order.
Diffstat (limited to 'generate.h')
-rw-r--r--generate.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/generate.h b/generate.h
new file mode 100644
index 0000000..2b78150
--- /dev/null
+++ b/generate.h
@@ -0,0 +1,21 @@
+/*********************************************************************
+ * kd-forest *
+ * Copyright (C) 2015 Tavian Barnes <tavianator@tavianator.com> *
+ * *
+ * This program is free software. It comes without any warranty, to *
+ * the extent permitted by applicable law. You can redistribute it *
+ * and/or modify it under the terms of the Do What The Fuck You Want *
+ * To Public License, Version 2, as published by Sam Hocevar. See *
+ * the COPYING file or http://www.wtfpl.net/ for more details. *
+ *********************************************************************/
+
+#ifndef GENERATE_H
+#define GENERATE_H
+
+#include "options.h"
+#include <stdint.h>
+
+// Generate the colors according to the mode
+uint32_t *generate_colors(const options_t *options);
+
+#endif // GENERATE_H