desaturated next block
[vrtris] / src / color.h
diff --git a/src/color.h b/src/color.h
new file mode 100644 (file)
index 0000000..b955b84
--- /dev/null
@@ -0,0 +1,7 @@
+#ifndef COLOR_H_
+#define COLOR_H_
+
+void rgb_to_hsv(float r, float g, float b, float *h, float *s, float *v);
+void hsv_to_rgb(float h, float s, float v, float *r, float *g, float *b);
+
+#endif /* COLOR_H_ */