projects
/
vrtris
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
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
+++ b/
src/color.h
@@ -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_ */