include alpha-delta computation in HSV::delta()
authorPaul Davis <paul@linuxaudiosystems.com>
Fri, 5 Dec 2014 14:00:36 +0000 (09:00 -0500)
committerPaul Davis <paul@linuxaudiosystems.com>
Fri, 5 Dec 2014 14:01:55 +0000 (09:01 -0500)
libs/canvas/colors.cc

index b053e2d1de20a343d87e5229d2d71a57e026e899..361023d300f50f861635cbe21212da77f5b1be4d 100644 (file)
@@ -376,6 +376,7 @@ HSV::delta (const HSV& other) const
                d.s = s - other.s;
                d.v = v - other.v;
        }
+       d.a = a - other.a;
        /* do not clamp - we are returning a delta */
        return d;
 }