diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2014-12-05 09:00:36 -0500 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2014-12-05 09:01:55 -0500 |
commit | 207fd04587e7d354c9b98453b01cc0825b2ba556 (patch) | |
tree | a27561137445ddd2e6d00c7605170553fbeb5ec1 /libs | |
parent | d0a18a8c353fe560dd4d6d28814fc7d6ef35d46d (diff) |
include alpha-delta computation in HSV::delta()
Diffstat (limited to 'libs')
-rw-r--r-- | libs/canvas/colors.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libs/canvas/colors.cc b/libs/canvas/colors.cc index b053e2d1de..361023d300 100644 --- a/libs/canvas/colors.cc +++ b/libs/canvas/colors.cc @@ -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; } |