-no-srgb option
[vrfileman] / src / color.h
diff --git a/src/color.h b/src/color.h
new file mode 100644 (file)
index 0000000..2fe4db4
--- /dev/null
@@ -0,0 +1,12 @@
+#ifndef COLOR_H_
+#define COLOR_H_
+
+#include "gmath/gmath.h"
+
+typedef Vec3 Color;
+
+Color color(float r, float g, float b);
+Color linear_to_srgb(const Color &c);
+Color srgb_to_linear(const Color &c);
+
+#endif // COLOR_H_