]> git.sesse.net Git - movit/blobdiff - effect.h
Yet more moving of stuff around.
[movit] / effect.h
index deeaae45264fddf57a3ffd5c5a57ee3da64b732a..a7b0e4be0565a0375b0ed4231c3bf03e5894b75a 100644 (file)
--- a/effect.h
+++ b/effect.h
@@ -4,6 +4,14 @@
 #include <map>
 #include <string>
 
+// Can alias on a float[3].
+struct RGBTriplet {
+       RGBTriplet(float r, float g, float b)
+               : r(r), g(g), b(b) {}
+
+       float r, g, b;
+};
+
 class Effect {
 public: 
        virtual bool needs_linear_light() { return true; }