-no-srgb option
[vrfileman] / src / color.h
1 #ifndef COLOR_H_
2 #define COLOR_H_
3
4 #include "gmath/gmath.h"
5
6 typedef Vec3 Color;
7
8 Color color(float r, float g, float b);
9 Color linear_to_srgb(const Color &c);
10 Color srgb_to_linear(const Color &c);
11
12 #endif  // COLOR_H_