2fe4db4aa9bb56e070723c9801ce4bedacb66151
[vrfileman] / 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_