]> git.tdb.fi Git - libs/gltk.git/blobdiff - source/color.h
Initial revision
[libs/gltk.git] / source / color.h
diff --git a/source/color.h b/source/color.h
new file mode 100644 (file)
index 0000000..1d6b456
--- /dev/null
@@ -0,0 +1,18 @@
+#ifndef MSP_GLTK_COLOR_H_
+#define MSP_GLTK_COLOR_H_
+
+namespace Msp {
+namespace GLtk {
+
+struct Color
+{
+       float r, g, b;
+
+       Color(): r(1), g(1), b(1) { }
+       Color(float r_, float g_, float b_): r(r_), g(g_), b(b_) { }
+};
+
+} // namespace GLtk
+} // namespace Msp
+
+#endif